WSOD after install

Created on 20 September 2024, 2 months ago

Problem/Motivation

After installing via composer and enabling the module, I notice that it creates a WSOD error.

Error: Call to undefined method Drupal\layout_builder\SectionComponent::getThirdPartySettings() in Drupal\block_breakpoint\EventSubscriber\BlockComponentRenderArray->onBuildRender() (line 34 of D:\wwwroot\pss_2024\web\modules\contrib\block_breakpoint\src\EventSubscriber\BlockComponentRenderArray.php).

#0 [internal function]: Drupal\block_breakpoint\EventSubscriber\BlockComponentRenderArray->onBuildRender(Object(Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent), 'section_compone...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#1 D:\wwwroot\pss_2024\web\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent), 'section_compone...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#2 D:\wwwroot\pss_2024\web\core\modules\layout_builder\src\SectionComponent.php(90): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent), 'section_compone...')
#3 D:\wwwroot\pss_2024\web\core\modules\layout_builder\src\Section.php(88): Drupal\layout_builder\SectionComponent->toRenderArray(Array, false)
#4 D:\wwwroot\pss_2024\web\core\modules\layout_builder\src\Entity\LayoutBuilderEntityViewDisplay.php(318): Drupal\layout_builder\Section->toRenderArray(Array)
#5 D:\wwwroot\pss_2024\web\core\modules\layout_builder\src\Entity\LayoutBuilderEntityViewDisplay.php(278): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildSections(Object(Drupal\node\Entity\Node))
#6 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Entity\EntityViewBuilder.php(339): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildMultiple(Array)
#7 D:\wwwroot\pss_2024\web\core\modules\node\src\NodeViewBuilder.php(24): Drupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full')
#8 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Entity\EntityViewBuilder.php(281): Drupal\node\NodeViewBuilder->buildComponents(Array, Array, Array, 'full')
#9 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Entity\EntityViewBuilder.php(238): Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array)
#10 [internal function]: Drupal\Core\Entity\EntityViewBuilder->build(Array)
#11 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Security\DoTrustedCallbackTrait.php(111): call_user_func_array(Array, Array)
#12 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\Renderer.php(859): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'exception', 'Drupal\\Core\\Ren...')
#13 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\Renderer.php(421): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)
#14 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\Renderer.php(240): Drupal\Core\Render\Renderer->doRender(Array, false)
#15 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\MainContent\HtmlRenderer.php(238): Drupal\Core\Render\Renderer->render(Array, false)
#16 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\Renderer.php(627): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#17 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\MainContent\HtmlRenderer.php(239): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#18 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\Render\MainContent\HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#19 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\EventSubscriber\MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#20 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#21 D:\wwwroot\pss_2024\web\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#22 D:\wwwroot\pss_2024\vendor\symfony\http-kernel\HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#23 D:\wwwroot\pss_2024\vendor\symfony\http-kernel\HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#24 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 D:\wwwroot\pss_2024\web\core\modules\big_pipe\src\StackMiddleware\ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 D:\wwwroot\pss_2024\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(191): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 D:\wwwroot\pss_2024\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 D:\wwwroot\pss_2024\web\core\modules\page_cache\src\StackMiddleware\PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 D:\wwwroot\pss_2024\web\core\modules\ban\src\BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\StackMiddleware\StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 D:\wwwroot\pss_2024\web\core\lib\Drupal\Core\DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 D:\wwwroot\pss_2024\web\index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#38 {main}

Steps to reproduce

PHP 8.1.29
Drupal 10.2
Install and enable dependencies. Check site in another browser , not logged on to the site.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States goose2000

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024