Closed (duplicate)
Project:
Webform
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2015 at 20:44 UTC
Updated:
11 Jun 2015 at 14:25 UTC
Jump to comment: Most recent
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
Comment #1
sumitmadan commentedDrupal 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.
Comment #2
sumitmadan commentedComment #3
danchadwick commentedComment #4
fenstratThis issue should have been fixed in #2504477: Use $node->bundle() instead of $node->type. Please re-open if not.