Error : Class "Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage" not found in Drupal\replicate\EventSubscriber\ReplicateLayoutBuilderSubscriber->onReplicateAfterSave()

Created on 28 March 2023, over 1 year ago

Problem/Motivation

When layout builder is not enabled, replicating a node results in the following error:

Error : Class "Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage" not found in Drupal\replicate\EventSubscriber\ReplicateLayoutBuilderSubscriber->onReplicateAfterSave() (/var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/EventSubscriber/ReplicateLayoutBuilderSubscriber.php ligne 82)
#0 [internal function]: Drupal\replicate\EventSubscriber\ReplicateLayoutBuilderSubscriber->onReplicateAfterSave()
#1 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#2 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/Replicator.php(100): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#3 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/paragraphs/src/EventSubscriber/ReplicateFieldSubscriber.php(41): Drupal\replicate\Replicator->replicateEntity()
#4 [internal function]: Drupal\paragraphs\EventSubscriber\ReplicateFieldSubscriber->onClone()
#5 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#6 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/Replicator.php(224): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#7 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/Replicator.php(208): Drupal\replicate\Replicator->dispatchEventCloneEntityField()
#8 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/Replicator.php(143): Drupal\replicate\Replicator->dispatchEventCloneEntityFields()
#9 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate/src/Replicator.php(97): Drupal\replicate\Replicator->cloneEntity()
#10 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/modules/contrib/replicate_ui/src/Form/ReplicateConfirmForm.php(113): Drupal\replicate\Replicator->replicateEntity()
#11 [internal function]: Drupal\replicate_ui\Form\ReplicateConfirmForm->submitForm()
#12 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Form/FormSubmitter.php(114): call_user_func_array()
#13 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Form/FormSubmitter.php(52): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers()
#14 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Form/FormBuilder.php(595): Drupal\Core\Form\FormSubmitter->doSubmitForm()
#15 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Form/FormBuilder.php(323): Drupal\Core\Form\FormBuilder->processForm()
#16 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#17 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#18 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#19 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#21 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#22 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#23 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#24 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#25 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#26 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#27 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#28 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#29 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#30 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#31 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#32 /var/www/qjobs.be/releases/20230327110902-testing-1276516/htdocs/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#33 {main}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium JeroenT πŸ‡§πŸ‡ͺ

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

Comments & Activities

Production build 0.71.5 2024