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…
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3207515-fixed-indirect-modification-of-overloaded-element-03.patch | 1.41 KB | johnle |
| error-message.txt | 12.21 KB | Ralf Eisler |
Comments
Comment #2
publishing future commentedSame problem here with 8.x-3.1
Comment #3
johnle commentedI'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!
Comment #4
swentel commentedTriggering tests, looks good to me otherwise.
Comment #5
publishing future commentedPatch in#3 resolved the issue for me.
Comment #6
swentel commentedLeaving it to zuuperman to commit.
Comment #8
nils.destoop commentedThx for the patch. Confirm everything is still ok.