- Issue created by @daniel.pernold
- 🇦🇹Austria daniel.pernold
Another warning:
Warning: foreach() argument must be of type array|object, null given in _gin_toolbar_custom_menu_get_setting() (line 237 of modules/contrib/gin_toolbar_custom_menu/gin_toolbar_custom_menu.module). _gin_toolbar_custom_menu_get_setting() (Line: 38) Drupal\gin_toolbar_custom_menu\Render\Element\GinToolbarCustomMenu::preRenderTray() call_user_func_array() (Line: 113) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 870) Drupal\Core\Render\Renderer->doCallback() (Line: 432) Drupal\Core\Render\Renderer->doRender() (Line: 504) Drupal\Core\Render\Renderer->doRender() (Line: 504) Drupal\Core\Render\Renderer->doRender() (Line: 248) Drupal\Core\Render\Renderer->render() (Line: 94) template_preprocess_toolbar() call_user_func_array() (Line: 268) Drupal\Core\Theme\ThemeManager->render() (Line: 491) Drupal\Core\Render\Renderer->doRender() (Line: 504) Drupal\Core\Render\Renderer->doRender() (Line: 248) Drupal\Core\Render\Renderer->render() (Line: 492) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 88) __TwigTemplate_902a36968bf45cc2b7f9ffd3dfed806a->doDisplay() (Line: 388) Twig\Template->yield() (Line: 344) Twig\Template->display() (Line: 359) Twig\Template->render() (Line: 51) Twig\TemplateWrapper->render() (Line: 33) twig_render_template() (Line: 357) Drupal\Core\Theme\ThemeManager->render() (Line: 491) Drupal\Core\Render\Renderer->doRender() (Line: 248) Drupal\Core\Render\Renderer->render() (Line: 158) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 153) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() call_user_func() (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 53) Asm89\Stack\Cors->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741) Drupal\Core\DrupalKernel->handle() (Line: 19)
- 🇦🇹Austria daniel.pernold
Okay, figured out when upgrading from 1.0.4 to 1.0.6 the scheme of the settings is different. There may be a missing update hook for the transition from 1.0.4 to 1.0.6. When saving the configuration again I get these differences:
- 🇵🇹Portugal jmauricio
Thanks for the report, i'll fix the warning as soon as i have some time, but yes, re-saving the config form fixes the problem.