Adding a view that will render the current entity to Layout Builder causes a WSOD

Created on 4 June 2018, about 6 years ago
Updated 19 September 2023, 9 months ago

I have a view block that is rendered via a view content that uses a view mode that is built via the Layout Builder. When I try to place said block in another node type that uses the layout builder I get this:

Error: Maximum function nesting level of '256' reached, aborting! in Drupal\Component\Plugin\PluginBase->__construct() (line 53 of /app/web/core/lib/Drupal/Component/Plugin/PluginBase.php) #0 /app/web/core/modules/views/src/Plugin/views/PluginBase.php(121): Drupal\Component\Plugin\PluginBase->__construct(Array, 'field', Array)...........

Steps to Replicate

  1. Create a new node type and setup the display via the layout builder
  2. Create a view that uses the node type above. Set the Show to content and the select your view mode
  3. Use the basic page type and create a new node. In that node, add the view block above in the layout builder
πŸ› Bug report
Status

Closed: duplicate

Version

8.7 ⚰️

Component
Layout builderΒ  β†’

Last updated about 18 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States labboy0276

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.69.0 2024