Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've got a select element which I use on a form that references a view of product nodes. I get the following error when submitting the form:
Fatal error: Call to undefined method Drupal\yamlform\Plugin\YamlFormElement\YamlFormEntitySelect::entityTypeManager() in modules/contrib/yamlform/src/Plugin/YamlFormElement/YamlFormEntityReferenceTrait.php on line 345
The issue looks like it's triggered when trying to format the output of the product in an email notification.
Comment | File | Size | Author |
---|---|---|---|
#2 | entityreference_error-2832435.patch | 850 bytes | vivianspencer |
Comments
Comment #2
vivianspencer CreditAttribution: vivianspencer commentedHere's a patch
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedChanging status to 'Needs review' to make sure all tests are passing.
Comment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer commented