Issue adding Columns / Container paragraph to node

Created on 12 August 2025, 11 days ago

Problem/Motivation

When trying to add a column/container paragraph to a node that has a paragraph field with all EBT available, the paragraph is not added and there is no error message on the content add form. Check the Recent Log Messages report, the follow error is reported:

Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '512' frames in Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase->defaultConfiguration() (line 37 of /Users/davidweiner/Sites/triple-g.casa/web/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php).

Steps to reproduce

Add a paragraph to a content type and add a paragraph field with all EPT selected. Add a new node for that content type and attempt to add a column/container paragraph.

Proposed resolution

In the configuration for the Columns field EPT Columns / Container paragraph, change Which Paragraph types should be allowed? to Exclude the selected below from Include the selected below. This will allow the paragraph to be added to a node.

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

πŸ’¬ Support request
Status

Active

Version

1.4

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dave.weiner

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

Comments & Activities

  • Issue created by @dave.weiner
  • πŸ‡ΊπŸ‡ΈUnited States dave.weiner
  • πŸ‡·πŸ‡ΈSerbia levmyshkin Novi Sad, Serbia

    Hi Dave, what Field Widget are you using for Paragraph field: Stable Paragraph, Legacy Paragraph, Layout Paragraph, Mercury? Drupal can load a lot of by relationship, so for Layout Paragraph it should be limited:
    https://www.drupal.org/project/ept_columns/issues/3450536#comment-15616377 πŸ› EPT Columns/container won't load Closed: cannot reproduce

    Try this field widget for paragraph:
    https://www.drupal.org/project/layout_paragraphs β†’

    Also, could you check that EPT Columns are not selected for other paragraph fields, EPT Columns inside EPT Columns also can cause the error:

    Nested Paragraph References: A common cause in Drupal Paragraphs is when a paragraph type references another paragraph type, and a circular dependency is inadvertently created (e.g., Paragraph A contains Paragraph B, and Paragraph B also contains Paragraph A). This can lead to an infinite loop during rendering or saving.

  • πŸ‡ΊπŸ‡ΈUnited States dave.weiner

    Hi Ivan.

    Thanks for responding. I added a Paragraph field type, which is a Entity reference revisions field type, which preselected Paragraph as the type of entity. In the form display, I selected Paragraphs (stable). I struggled to find detailed documentation on how to create the individual columns to match the layout that I had selected. The demo is great to show what the possibilities are, but I'm at a loss as to how to actually create those layouts on the node add/edit page.

Production build 0.71.5 2024