Layout Builder error

Layout Builder errors.

When I in the content type tried to activate Layout Builder then I had a screen saying “The website encountered an unexpected error. Please try again later.” When I then check the log there are more warnings than I’ve seen acumulated in my entire life and one error and they are all PHP related. I’m on 8.6.4 and php7.2

Does anyone have a clue what it is about?

Below you’ll find the errors.

Error: Cannot create references to/from string offsets i DrupalComponentUtilityNestedArray::setValue() (rad 155 av /web/core/lib/Drupal/Component/Utility/NestedArray.php) #0 /web/core/lib/Drupal/Core/Form/FormBuilder.php(1245): DrupalComponentUtilityNestedArray::setValue(Array, Array, NULL) #1 /web/core/lib/Drupal/Core/Form/FormBuilder.php(990): DrupalCoreFormFormBuilder->handleInputElement(‘entity_view_dis…’, Array, Object(DrupalCoreFormFormState)) #2 /web/core/lib/Drupal/Core/Form/FormBuilder.php(1060): DrupalCoreFormFormBuilder->doBuildForm(‘entity_view_dis…’, Array, Object(DrupalCoreFormFormState)) #3 /web/core/lib/Drupal/Core/Form/FormBuilder.php(1060): DrupalCoreFormFormBuilder->doBuildForm(‘entity_view_dis…’, Array, Object(DrupalCoreFormFormState)) #4 /web/core/lib/Drupal/Core/Form/FormBuilder.php(561): DrupalCoreFormFormBuilder->doBuildForm(‘entity_view_dis…’, Array, Object(DrupalCoreFormFormState)) #5 /web/core/lib/Drupal/Core/Form/FormBuilder.php(318): DrupalCoreFormFormBuilder->processForm(‘entity_view_dis…’, Array, Object(DrupalCoreFormFormState)) #6 /web/core/lib/Drupal/Core/Controller/FormController.php(93): DrupalCoreFormFormBuilder->buildForm(‘entity_view_dis…’, Object(DrupalCoreFormFormState)) #7 [internal function]: DrupalCoreControllerFormController->getContentResult(Object(SymfonyComponentHttpFoundationRequest), Object(DrupalCoreRoutingRouteMatch)) #8 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #9 /web/core/lib/Drupal/Core/Render/Renderer.php(582): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}() #10 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): DrupalCoreRenderRenderer->executeInRenderContext(Object(DrupalCoreRenderRenderContext), Object(Closure)) #11 /web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #12 /vendor/symfony/http-kernel/HttpKernel.php(151): DrupalCoreEventSubscriberEarlyRenderingControllerWrapperSubscriber->DrupalCoreEventSubscriber{closure}() #13 /vendor/symfony/http-kernel/HttpKernel.php(68): SymfonyComponentHttpKernelHttpKernel->handleRaw(Object(SymfonyComponentHttpFoundationRequest), 1) #14 /web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): SymfonyComponentHttpKernelHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #15 /web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): DrupalCoreStackMiddlewareSession->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #16 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): DrupalCoreStackMiddlewareKernelPreHandle->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #17 /web/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupalpage_cacheStackMiddlewarePageCache->pass(Object(SymfonyComponentHttpFoundationRequest), 1, true) #18 /web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupalpage_cacheStackMiddlewarePageCache->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #19 /web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #20 /vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #21 /web/core/lib/Drupal/Core/DrupalKernel.php(669): StackStackedHttpKernel->handle(Object(SymfonyComponentHttpFoundationRequest), 1, true) #22 /web/index.php(19): DrupalCoreDrupalKernel->handle(Object(SymfonyComponentHttpFoundationRequest)) #23 {main}.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed