Messing up layout builder

Created on 3 May 2023, about 1 year ago

Problem/Motivation

Block cannot be added to a layout builder region (two column section). I does show up under the available blocks, but cannot be 'saved´.
After saving the layout, the block appears however on the page, but not in the section where it was intended.
Trying to adjust the layout, I get the following message:

Message TypeError: Drupal\Core\Cache\CacheableMetadata::createFromRenderArray(): Argument #1 ($build) must be of type array, null given, called in /home/xxxx/domains/xxx/public_html/core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php on line 111 in Drupal\Core\Cache\CacheableMetadata::createFromRenderArray() (line 149 of /home/greenhost/domains/lochemenergie.net/public_html/core/lib/Drupal/Core/Cache/CacheableMetadata.php)

Only solution is to unselect layout builder for the said content type, flush cache, and rebuild the layout again (obviously without toc block).

Steps to reproduce

Installed cron
D 9.5.8

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇱Netherlands jandewit6

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

Comments & Activities

Production build 0.69.0 2024