Block errors and cache crash

Created on 27 July 2023, 11 months ago
Updated 29 July 2023, 11 months ago

OK - the block operations are definitely screwy and it definitely has to do with DA.

Upon making theme (twig) changes, reassigning assigning a block and clearing cache, you get "the site encountered an unexpected error." Below are the two log errors. Clearing the cache from the UI now reliably crashes the site, even after doing drush cache-rebuild, so I don't know what to do next.

Any suggestions greatly appreciated!

P.S. - Clearing cache on the other affiliates is fine; the problem appears just on this subdomain AFAICT.

#1

Warning: Undefined array key "core.extension:global_overrides:[subsite_domain]_comen" in Drupal\domain_config_ui\Config\ConfigFactory->doLoadMultiple() (line 92 of /home/[site]/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php)
#0 /home/[site]/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(2, 'Undefined array...', '/home/[base_domain]/...', 92)
#1 /home/[site]/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php(92): _drupal_error_handler(2, 'Undefined array...', '/home/[base_domain]/...', 92)
#2 /home/[site]/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php(112): Drupal\domain_config_ui\Config\ConfigFactory->doLoadMultiple(Array, true)
#3 /home/[site]/web/core/lib/Drupal/Core/Config/ConfigFactory.php(89): Drupal\domain_config_ui\Config\ConfigFactory->doGet('core.extension')
#4 /home/[site]/web/core/lib/Drupal/Core/Extension/ThemeHandler.php(70): Drupal\Core\Config\ConfigFactory->get('core.extension')
#5 /home/[site]/web/core/modules/block/block.module(169): Drupal\Core\Extension\ThemeHandler->listInfo()
#6 [internal function]: block_rebuild()
#7 /home/[site]/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(409): call_user_func_array(Object(Closure), Array)
#8 /home/[site]/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object(Closure), 'block')
#9 /home/[site]/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(416): Drupal\Core\Extension\ModuleHandler->invokeAllWith('rebuild', Object(Closure))
#10 /home/[site]/web/core/includes/common.inc(510): Drupal\Core\Extension\ModuleHandler->invokeAll('rebuild')
#11 /home/[site]/web/modules/contrib/admin_toolbar/admin_toolbar_tools/src/Controller/ToolbarController.php(205): drupal_flush_all_caches()
#12 [internal function]: Drupal\admin_toolbar_tools\Controller\ToolbarController->flushAll()
#13 /home/[site]/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#14 /home/[site]/web/core/lib/Drupal/Core/Render/Renderer.php(583): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /home/[site]/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#16 /home/[site]/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#17 /home/[site]/vendor/symfony/http-kernel/HttpKernel.php(166): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#18 /home/[site]/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#19 /home/[site]/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /home/[site]/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /home/[site]/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /home/[site]/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /home/[site]/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /home/[site]/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /home/[site]/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /home/[site]/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /home/[site]/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#28 {main}

#2

Error: Call to a member function setModuleOverride() on null in Drupal\domain_config_ui\Config\ConfigFactory->doLoadMultiple() (line 92 of /home/[site]/web/modules/contrib/domain/domain_config_ui/src/Config/ConfigFactory.php).

πŸ› Bug report
Status

Active

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States bcobin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024