Problem/Motivation

Drupal 9.5.7
GIN admin theme (latest release)

I have a node type that has a paragraph reference field.
Some of those paragraphs have nested paragraph references...
These have media library reference forms.
Enabling the module and enabling the "edit button" in FORM DISPLAY, generates this error when you try to edit the nested paragraphs.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /node/19/edit?ajax_form=1&_wrapper_format=drupal_ajax
StatusText: parsererror
ResponseText: Error: Cannot use object of type Drupal\Core\Render\Markup as array in claro_preprocess_fieldset__media_library_widget() (line 1440 of /app/web/core/themes/claro/claro.theme)."

initial view of paragraphs

Clicking the EDIT button in this interface causes the component I'm trying to edit, show all of the components of the page as a child...

A recursive mess...

CommentFileSizeAuthor
screenshot_2023-04-12_at_19_05_38.png174.49 KBalphex

Comments

alphex created an issue. See original summary.

damienmckenna’s picture

Status: Active » Postponed (maintainer needs more info)

Have you tried updating the gin theme? It's working for me with the latest 8.x-3.0-rc4 release.