Problem/Motivation
I have a webform paragraph type with the entity reference field field_webform pointing to webform entities. And I then have a page node to which entity_reference_revisions can be added of that paragraph type. But when attempting to add a new 'Webform' paragraph, I get the following error: Notice: Undefined index: field_webform in Drupal\webform\Plugin\Field\FieldWidget\WebformEntityReferenceSelectWidget->formElement() (line 106 of /var/www/drupal/web/modules/contrib/webform/src/Plugin/Field/FieldWidget/WebformEntityReferenceWidgetTrait.php).
This was/is not a problem on 8.x-5.9, it appears only when I've updated to 8.x-5.10.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3132909-2.patch | 1.13 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedThe attached patch should solve the index issue.
Comment #3
beunerd commentedSorry for a delayed response. This does indeed fix the issue. Thank you!
Comment #5
jrockowitz commented