Issue #3049099 by alexpott, catch: Whilst updating from 8.6.x to 8.7.x you get many "Invalid argument supplied for foreach() in Drupal\Core\Theme\ThemeInitialization" warnings