foreach() is called on $items in entityreference_view_widget_field_widget_form(), which fails for me during node creation as $items is NULL.

complete error message: Warning : Invalid argument supplied for foreach() dans entityreference_view_widget_field_widget_form() (ligne 203 dans .../entityreference_view_widget/entityreference_view_widget.module).

Comments

mvc’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new601 bytes

added simple error checking.

jsacksick’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

Please report back if this is still an issue in the 2.x branch. It is a big rewrite that aimed to resolve all known issues with the 1.x branch which is not supported anymore.