Account created on 21 December 2009, about 15 years ago
#

Recent comments

I was getting the "Argument #9 ($kernel) must be of type" error after updating to Drupal 10.3.1, and it was resolved after updating Bootstrap to 3.31, except now the update.php page does not load. The database did update with Drush but the update.php page does not load even after clearing and rebuilding caches. All other admin and site pages I have checked seem to work.

The log now shows "Argument #2 must be of type array . . ."

Here is the full output:

TypeError: array_diff(): Argument #2 must be of type array, null given in /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php on line 702

#0 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(702): array_diff(Array, NULL)

#1 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(677): Drupal\Core\Theme\Registry->mergePreprocessFunctions('block__system_m...', 'block', Array, Array)

#2 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(791): Drupal\Core\Theme\Registry->completeSuggestion('block__system_m...', Array)

#3 /mnt/www/html/web/docroot/themes/contrib/bootstrap/src/Plugin/Alter/ThemeRegistry.php(161): Drupal\Core\Theme\Registry->postProcessExtension(Array, Object(Drupal\Core\Theme\ActiveTheme))

#4 /mnt/www/html/web/docroot/themes/contrib/bootstrap/src/Bootstrap.php(303): Drupal\bootstrap\Plugin\Alter\ThemeRegistry->alter(Array, NULL, NULL)

#5 /mnt/www/html/web/docroot/themes/contrib/bootstrap/bootstrap.theme(139): Drupal\bootstrap\Bootstrap::alter('bootstrap_theme...', Array, NULL, NULL)

#6 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/ThemeManager.php(458): bootstrap_theme_registry_alter(Array, NULL, NULL)

#7 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(433): Drupal\Core\Theme\ThemeManager->alterForTheme(Object(Drupal\Core\Theme\ActiveTheme), 'theme_registry', Array)

#8 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(274): Drupal\Core\Theme\Registry->build()

#9 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Utility/ThemeRegistry.php(88): Drupal\Core\Theme\Registry->get()

#10 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Utility/ThemeRegistry.php(69): Drupal\Core\Utility\ThemeRegistry->initializeRegistry()

#11 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/Registry.php(319): Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:...', Object(Drupal\Core\Update\UpdateBackend), Object(Drupal\Core\ProxyClass\Lock\DatabaseLockBackend), Array, true)

#12 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Theme/ThemeManager.php(141): Drupal\Core\Theme\Registry->getRuntime()

#13 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('html', Array)

#14 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, true)

#15 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/Renderer.php(153): Drupal\Core\Render\Renderer->render(Array, true)

#16 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()

#17 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/Renderer.php(154): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))

#18 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php(66): Drupal\Core\Render\Renderer->renderRoot(Array)

#19 /mnt/www/html/web/docroot/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php(76): Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup), 'maintenance_pag...', Array)

#20 /mnt/www/html/web/docroot/core/modules/system/src/Controller/DbUpdateController.php(205): Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup), 'maintenance_pag...', Array)

#21 [internal function]: Drupal\system\Controller\DbUpdateController->handle('info', Object(Symfony\Component\HttpFoundation\Request))

#22 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Update/UpdateKernel.php(115): call_user_func_array(Array, Array)

#23 /mnt/www/html/web/docroot/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\Core\Update\UpdateKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request))

#24 /mnt/www/html/web/docroot/update.php(27): Drupal\Core\Update\UpdateKernel->handle(Object(Symfony\Component\HttpFoundation\Request))

#25 {main}

Production build 0.71.5 2024