Recoverable fatal error: Object of class Drupal\Core\Field\EntityReferenceFieldItemList could not be converted to string in webform_form_alter() (line 1735 of modules/webform/webform.module).

I can't create a webform. I have this error when I try to add the first field.

Comments

sumitmadan’s picture

Drupal 8 version of webform is in progress. And this issue is fixed with patch in #2503105: Display webform tab only on webform enabled content type nodes.

It can be closed after committing the patch.

sumitmadan’s picture

danchadwick’s picture

Category: Bug report » Task
Priority: Major » Normal
fenstrat’s picture

Status: Active » Closed (duplicate)

This issue should have been fixed in #2504477: Use $node->bundle() instead of $node->type. Please re-open if not.