Bug Report

On every node-edit, I get the following error message:

Location: https://myproject.com/fr/node/2/edit

Error Message

Notice: Indirect modification of overloaded element of Drupal\Core\Template\Attribute has no effect in Drupal\field_group\Element\HtmlElement::processHtmlElement() (line 58 of /home/myproject/www/myproject.com/web/modules/contrib/field_group/src/Element/HtmlElement.php)
#0 /home/myproject/www/myproject.com/web/core/includes/bootstrap.inc(305): _drupal_error_handler_real(8, 'Indirect modifi...', '/home/myproject/...', 58)

Full Error Message

Full error message in attached File…

Comments

Thomas Factory created an issue. See original summary.

publishing future’s picture

Same problem here with 8.x-3.1

johnle’s picture

I've been running into the same issue with field groups. I am using a combination of field group and paragraph that are nested in another paragraph. Field group is only on the node and not either paragraphs. I am not sure how to fix this via the UI, but I've made a patch to fixed this, in code and would love to get the community to test/review it. Thanks!

swentel’s picture

Status: Active » Needs review

Triggering tests, looks good to me otherwise.

publishing future’s picture

Patch in#3 resolved the issue for me.

swentel’s picture

Status: Needs review » Reviewed & tested by the community

Leaving it to zuuperman to commit.

  • nils.destoop committed e3fc83a on 8.x-3.x authored by johnle
    Issue #3207515 by johnle, Thomas Factory, swentel: Indirect modification...
nils.destoop’s picture

Status: Reviewed & tested by the community » Fixed

Thx for the patch. Confirm everything is still ok.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.