WSOD: Allowed memory exhausted when using on multiple content types with Layout Builder

Created on 27 December 2024, 19 days ago

Allowed memory exhausted when using on multiple content types

I need to place accordions on multiple content types but Layout Builder fails to load after I add the second one.

Steps to reproduce

On Fresh Drupal 10.4 site, add a paragraphs field `field_test1` to page content type
Set display to use Layout Builder
Click manage layout
add the new field & save

Add a second content type (page-2-col)
Set display to use Layout Builder
reuse the same new field `field_test1`
Set display to use Layout Builder
click manage layout
add the new field and save
click manage layout
WSOD

```
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php on line 644

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/web/core/lib/Drupal/Core/Session/SessionHandler.php on line 86

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/web/core/includes/errors.inc on line 61
```

πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States selwynpolit

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

Comments & Activities

Production build 0.71.5 2024