diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index a16e845..02e9e79 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -2222,6 +2222,9 @@ function install_config_import_batch() { // Match up the site uuids, the install_base_system install task will have // installed the system module and created a new UUID. $system_site = $sync->read('system.site'); + if (empty($system_site['uuid'])) { + throw new InstallerException(t('Unable to find the Site UUID from config sync.')); + } \Drupal::configFactory()->getEditable('system.site')->set('uuid', $system_site['uuid'])->save(); // Create the storage comparer and the config importer.