drupal_view not working from views rewrite field from another view

Created on 25 June 2024, 7 months ago
Updated 21 July 2024, 6 months ago

We have view that rewrites field by calling twig template. In this template, we call "drupal_view".

This used to work fine with 10.2, but by updating to 10.3, we get WSOD on this view.

Crash log:

Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of /<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php) #0 /<installdir>/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
[internal function]: _drupal_error_handler()
/<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(278): array_flip()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php(57): Drupal\Core\Entity\EntityStorageBase->loadMultiple()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/NumericArgument.php(80): Drupal\views\Plugin\views\argument\EntityReferenceArgument->titleQuery()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php(1048): Drupal\views\Plugin\views\argument\NumericArgument->title()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1169): Drupal\views\Plugin\views\argument\ArgumentPluginBase->getTitle()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1326): Drupal\views\ViewExecutable->_buildArguments()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1450): Drupal\views\ViewExecutable->build()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1513): Drupal\views\ViewExecutable->execute()
/<installdir>/web/core/modules/rest/src/Plugin/views/display/RestExport.php(474): Drupal\views\ViewExecutable->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1721): Drupal\rest\Plugin\views\display\RestExport->preview()
/<installdir>/web/core/modules/views/src/Element/View.php(66): Drupal\views\ViewExecutable->preview()
[internal function]: Drupal\views\Element\View::preRenderViewElement()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
/<installdir>/web/sites/default/files/php/twig/667ade280999e_userpoints.html.twig_uedRv-7sDz-SPAqSboi_mAP_m/x0KVf3uJrMVBy1iid7I6RDcEZL9aXsH7kxz-XOlIDNU.php(65): Drupal\Core\Template\TwigExtension->escapeFilter()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_7e4a2ea5a6bd86de4890beea9c68ff73->doDisplay()
/<installdir>/web/sites/default/files/php/twig/667ade280999e___string_template__5a6e4b_sl6aSmbRHWZ4UG83Ybs6JWOTl/cjFkw_jeaxV0LLK4rKurJq9cFzYxDabMMacN3LyMLTk.php(49): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_51a603c223b29bcc0f41127078b46274->doDisplay()
/<installdir>/vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigEnvironment.php(234): Twig\TemplateWrapper->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Element/InlineTemplate.php(54): Drupal\Core\Template\TwigEnvironment->renderInline()
[internal function]: Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(164): Drupal\Core\Render\Renderer->executeInRenderContext()
/<installdir>/web/core/modules/views/src/Plugin/views/PluginBase.php(424): Drupal\Core\Render\Renderer->renderInIsolation()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1402): Drupal\views\Plugin\views\PluginBase->viewsTokenReplace()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1295): Drupal\views\Plugin\views\field\FieldPluginBase->renderAltered()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1223): Drupal\views\Plugin\views\field\FieldPluginBase->renderText()
/<installdir>/web/core/modules/views/views.theme.inc(238): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender()
[internal function]: template_preprocess_views_view_field()
/<installdir>/web/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1796): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(767): Drupal\views\Plugin\views\field\FieldPluginBase->theme()
[internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(706): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(572): Drupal\views\Plugin\views\style\StylePluginBase->renderFields()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(460): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping()
/<installdir>/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2177): Drupal\views\Plugin\views\style\StylePluginBase->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1592): Drupal\views\Plugin\views\display\DisplayPluginBase->render()
/<installdir>/web/core/modules/views/src/Plugin/views/display/Block.php(133): Drupal\views\ViewExecutable->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1689): Drupal\views\Plugin\views\display\Block->execute()
/<installdir>/web/core/modules/views/src/Element/View.php(81): Drupal\views\ViewExecutable->executeDisplay()
[internal function]: Drupal\views\Element\View::preRenderViewElement()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
/<installdir>/web/sites/default/files/php/twig/667ade280999e_page-team.html.twig_vDuJtzRQvuwnZQ_KRVbPGaP-I/KuOZMhVQrwD8wfQSPyUxK2b7x-L8Lyu3Fn2F-d99AvA.php(49): Drupal\Core\Template\TwigExtension->escapeFilter()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_642b7e482c0f3da2eb4ccbcf04a44462->doDisplay()
/<installdir>/vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
/<installdir>/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
/<installdir>/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(231): Drupal\Core\Render\Renderer->executeInRenderContext()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
/<installdir>/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
[internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
/<installdir>/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
/<installdir>/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
/<installdir>/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
/<installdir>/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
/<installdir>/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
/<installdir>/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
/<installdir>/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
/<installdir>/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
/<installdir>/web/index.php(19): Drupal\Core\DrupalKernel->handle()
{main}.
hp] [89.212.138.183/1] [http://5.161.246.158/team]: TypeError: Illegal offset type in Drupal\Core\Entity\EntityStorageBase->getFromStaticCache() (line 183 of /<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
ator.net.log
hp] [89.212.138.183/1] [http://5.161.246.158/team]: Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 278 of /<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php) #0 /<installdir>/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
internal function]: _drupal_error_handler()
/<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(278): array_flip()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php(57): Drupal\Core\Entity\EntityStorageBase->loadMultiple()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/NumericArgument.php(80): Drupal\views\Plugin\views\argument\EntityReferenceArgument->titleQuery()
/<installdir>/web/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php(1048): Drupal\views\Plugin\views\argument\NumericArgument->title()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1169): Drupal\views\Plugin\views\argument\ArgumentPluginBase->getTitle()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1326): Drupal\views\ViewExecutable->_buildArguments()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1450): Drupal\views\ViewExecutable->build()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1513): Drupal\views\ViewExecutable->execute()
/<installdir>/web/core/modules/rest/src/Plugin/views/display/RestExport.php(474): Drupal\views\ViewExecutable->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1721): Drupal\rest\Plugin\views\display\RestExport->preview()
/<installdir>/web/core/modules/views/src/Element/View.php(66): Drupal\views\ViewExecutable->preview()
[internal function]: Drupal\views\Element\View::preRenderViewElement()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
/<installdir>/web/sites/default/files/php/twig/667ade280999e_userpoints.html.twig_uedRv-7sDz-SPAqSboi_mAP_m/x0KVf3uJrMVBy1iid7I6RDcEZL9aXsH7kxz-XOlIDNU.php(65): Drupal\Core\Template\TwigExtension->escapeFilter()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_7e4a2ea5a6bd86de4890beea9c68ff73->doDisplay()
/<installdir>/web/sites/default/files/php/twig/667ade280999e___string_template__5a6e4b_sl6aSmbRHWZ4UG83Ybs6JWOTl/cjFkw_jeaxV0LLK4rKurJq9cFzYxDabMMacN3LyMLTk.php(49): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_51a603c223b29bcc0f41127078b46274->doDisplay()
/<installdir>/vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigEnvironment.php(234): Twig\TemplateWrapper->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Element/InlineTemplate.php(54): Drupal\Core\Template\TwigEnvironment->renderInline()
[internal function]: Drupal\Core\Render\Element\InlineTemplate::preRenderInlineTemplate()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(165): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(164): Drupal\Core\Render\Renderer->executeInRenderContext()
/<installdir>/web/core/modules/views/src/Plugin/views/PluginBase.php(424): Drupal\Core\Render\Renderer->renderInIsolation()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1402): Drupal\views\Plugin\views\PluginBase->viewsTokenReplace()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1295): Drupal\views\Plugin\views\field\FieldPluginBase->renderAltered()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1223): Drupal\views\Plugin\views\field\FieldPluginBase->renderText()
/<installdir>/web/core/modules/views/views.theme.inc(238): Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender()
[internal function]: template_preprocess_views_view_field()
/<installdir>/web/core/lib/Drupal/Core/Theme/ThemeManager.php(261): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/modules/views/src/Plugin/views/field/FieldPluginBase.php(1796): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(767): Drupal\views\Plugin\views\field\FieldPluginBase->theme()
[internal function]: Drupal\views\Plugin\views\style\StylePluginBase->elementPreRenderRow()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(706): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(572): Drupal\views\Plugin\views\style\StylePluginBase->renderFields()
/<installdir>/web/core/modules/views/src/Plugin/views/style/StylePluginBase.php(460): Drupal\views\Plugin\views\style\StylePluginBase->renderGrouping()
/<installdir>/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2177): Drupal\views\Plugin\views\style\StylePluginBase->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1592): Drupal\views\Plugin\views\display\DisplayPluginBase->render()
/<installdir>/web/core/modules/views/src/Plugin/views/display/Block.php(133): Drupal\views\ViewExecutable->render()
/<installdir>/web/core/modules/views/src/ViewExecutable.php(1689): Drupal\views\Plugin\views\display\Block->execute()
/<installdir>/web/core/modules/views/src/Element/View.php(81): Drupal\views\ViewExecutable->executeDisplay()
[internal function]: Drupal\views\Element\View::preRenderViewElement()
/<installdir>/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(870): Drupal\Core\Render\Renderer->doTrustedCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(432): Drupal\Core\Render\Renderer->doCallback()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render()
/<installdir>/web/sites/default/files/php/twig/667ade280999e_page-team.html.twig_vDuJtzRQvuwnZQ_KRVbPGaP-I/KuOZMhVQrwD8wfQSPyUxK2b7x-L8Lyu3Fn2F-d99AvA.php(49): Drupal\Core\Template\TwigExtension->escapeFilter()
/<installdir>/vendor/twig/twig/src/Template.php(360): __TwigTemplate_642b7e482c0f3da2eb4ccbcf04a44462->doDisplay()
/<installdir>/vendor/twig/twig/src/Template.php(335): Twig\Template->yield()
/<installdir>/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render()
/<installdir>/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
/<installdir>/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render()
/<installdir>/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(231): Drupal\Core\Render\Renderer->executeInRenderContext()
/<installdir>/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
/<installdir>/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
[internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
/<installdir>/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
/<installdir>/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
/<installdir>/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
/<installdir>/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
/<installdir>/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
/<installdir>/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
/<installdir>/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
/<installdir>/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
/<installdir>/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
/<installdir>/web/index.php(19): Drupal\Core\DrupalKernel->handle()
 {main}.
TypeError: Illegal offset type in Drupal\Core\Entity\EntityStorageBase->getFromStaticCache() (line 183 of /<installdir>/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
🐛 Bug report
Status

Closed: duplicate

Version

3.3

Component

Code

Created by

🇸🇮Slovenia KlemenDEV

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

Comments & Activities

Production build 0.71.5 2024