After update to v4.26.0 our working website returns the following:
-----------------------------------------------------------
The website encountered an unexpected error. Please try again later.
DomainException: When a #lazy_builder callback is specified, no properties can exist; all properties must be generated by the #lazy_builder callback. You specified the following properties: #attributes. in Drupal\Core\Render\Renderer->doRender() (line 335 of core/lib/Drupal/Core/Render/Renderer.php).
-----------------------------------------------------------
We backed out the update (reverting to v4.25.0), flushed the caches and the site is once again on the air.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | lazy_builder_conflict-3133113-4.patch | 756 bytes | hatuhay |
Comments
Comment #2
smmoraco commentedHere is more complete information: stack trace:
(in case it helps)
The website encountered an unexpected error. Please try again later.
DomainException: When a #lazy_builder callback is specified, no properties can exist; all properties must be generated by the #lazy_builder callback. You specified the following properties: #attributes. in Drupal\Core\Render\Renderer->doRender() (line 335 of core/lib/Drupal/Core/Render/Renderer.php).
Drupal\Core\Render\Renderer->render() (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 99)
__TwigTemplate_6f8ffcfbcb3b37e0a09bbf20fffdca2ef454318cc381ba1d6415f7dfeb801bc4->block_content() (Line: 216)
Twig\Template->displayBlock() (Line: 84)
__TwigTemplate_6f8ffcfbcb3b37e0a09bbf20fffdca2ef454318cc381ba1d6415f7dfeb801bc4->doDisplay() (Line: 455)
Twig\Template->displayWithErrorHandling() (Line: 422)
Twig\Template->display() (Line: 434)
Twig\Template->render() (Line: 64)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 431)
Drupal\Core\Render\Renderer->doRender() (Line: 444)
Drupal\Core\Render\Renderer->doRender() (Line: 200)
Drupal\Core\Render\Renderer->render() (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 68)
__TwigTemplate_06416f9b39cb66d88e124ed2796bb5aed372274e9877b90565c883498e72786c->doDisplay() (Line: 455)
Twig\Template->displayWithErrorHandling() (Line: 422)
Twig\Template->display() (Line: 434)
Twig\Template->render() (Line: 64)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 431)
Drupal\Core\Render\Renderer->doRender() (Line: 444)
Drupal\Core\Render\Renderer->doRender() (Line: 444)
Drupal\Core\Render\Renderer->doRender() (Line: 200)
Drupal\Core\Render\Renderer->render() (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 129)
__TwigTemplate_0cbd2897e478684ec19585f378a14813d17d20165108319804ae21840661aebe->doDisplay() (Line: 455)
Twig\Template->displayWithErrorHandling() (Line: 422)
Twig\Template->display() (Line: 434)
Twig\Template->render() (Line: 64)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 431)
Drupal\Core\Render\Renderer->doRender() (Line: 200)
Drupal\Core\Render\Renderer->render() (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 57)
Drupal\Core\StackMiddleware\Session->handle() (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 708)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Comment #3
vasikei confirm this bug ... and the result is WSOD + another message that could be related
Comment #4
hatuhay commentedThis is a conflict with blocks that use lazy_builder.
Please try this patch that narrows:
To system menu blocks.
Comment #6
hatuhay commentedComment #8
hatuhay commented