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.

CommentFileSizeAuthor
#2 entityreference_error-2832435.patch850 bytesvivianspencer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vivianspencer created an issue. See original summary.

vivianspencer’s picture

Here's a patch

jrockowitz’s picture

Status: Active » Needs review

Changing status to 'Needs review' to make sure all tests are passing.

jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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