PHP error after upgrading to v3.0.1 when logged as administrator

Created on 20 June 2025, 4 days ago

Problem/Motivation

After upgrading to v3.0.1, the all non admin nodes display the error: he website encountered an unexpected error

The message in the console is:
Error: Call to undefined function Drupal\gin\_gin_module_is_active() in Drupal\gin\GinNavigation->getNavigationAdminMenuItems() (line 70 of /home/USER/public_html/web/themes/contrib/gin/src/GinNavigation.php).

The backtrace mentions:
#0 /home/fam/public_html/web/themes/contrib/gin/src/GinNavigation.php(333): Drupal\gin\GinNavigation->getNavigationAdminMenuItems()
#1 /home/fam/public_html/web/modules/contrib/gin_toolbar/gin_toolbar.module(82): Drupal\gin\GinNavigation->getNavigationStructure()
#2 /home/fam/public_html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(367): gin_toolbar_preprocess_html()
#3 /home/fam/public_html/web/core/lib/Drupal/Core/Theme/ThemeManager.php(304): Drupal\Core\Extension\ModuleHandler->invoke()
#4 /home/fam/public_html/web/core/lib/Drupal/Core/Render/Renderer.php(492): Drupal\Core\Theme\ThemeManager->render()
#5 /home/fam/public_html/web/core/lib/Drupal/Core/Render/Renderer.php(222): Drupal\Core\Render\Renderer->doRender()
#6 /home/fam/public_html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(162): Drupal\Core\Render\Renderer->render()
#7 /home/fam/public_html/web/core/lib/Drupal/Core/Render/Renderer.php(622): Drupal\Core\Render\MainContent\HtmlRenderer->{closure:Drupal\Core\Render\MainContent\HtmlRenderer::renderResponse():157}()
#8 /home/fam/public_html/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(157): Drupal\Core\Render\Renderer->executeInRenderContext()
#9 /home/fam/public_html/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#10 /home/fam/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#11 /home/fam/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::{closure:Symfony\Component\EventDispatcher\EventDispatcher::optimizeListeners():241}()
#12 /home/fam/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#13 /home/fam/public_html/vendor/symfony/http-kernel/HttpKernel.php(188): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#14 /home/fam/public_html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#15 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#16 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#17 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#18 /home/fam/public_html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#19 /home/fam/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#20 /home/fam/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#21 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#22 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#23 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#24 /home/fam/public_html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#25 /home/fam/public_html/web/core/lib/Drupal/Core/DrupalKernel.php(715): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#26 /home/fam/public_html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#27 {main}

Steps to reproduce

Upgrade from v3.0.0 to v3.0.1

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium gillesbailleux La Roche-en-Ardenne

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

Comments & Activities

Production build 0.71.5 2024