I tried using this module with Mode: Filter by an entity reference view because I needed some filters for the entity reference instead of the Simple.
There's always a notice and warning error coming entity reference rendered widget module.
Notice: Undefined index: target_bundles in entityreference_rendered_widget_field_widget_form() (line 86 of /var/www/manila_secrets/sites/all/modules/entityreference_rendered_widget/entityreference_rendered_widget.module).
Warning: implode(): Invalid arguments passed in entityreference_rendered_widget_field_widget_form() (line 109 of /var/www/manila_secrets/sites/all/modules/entityreference_rendered_widget/entityreference_rendered_widget.module).
Is there any additional codes needed?
Thank you very much!
Comments
Comment #1
lucyp commentedI can confirm that I also received the notice about "Undefined index: target_bundles...." when I set the Mode to "Views: Filter by an entity reference view".
I did not receive the warning.
Comment #2
anybodyI can also confirm #1.
The first question is, if the target_bundle information is required. Otherwise a simple !empty / isset - check should fix this.
Comment #3
guilopes commentedComment #5
guilopes commentedI solved this in dev version, thanks =)
Comment #6
anybodyThanks a lot for your quick and good solution. I'll test the .dev branch. Seems truely fixed :)