Hi,
Firstly, thanks for this amazing module! I'm trying to use it in conjunction with entityreference, entityreference_view_widget, eva and references_dialog but I get the following notices and warnings at /admin/config/system/corresponding_entity_references:
Notice: Undefined index: target_bundles in corresponding_entity_references_settings_form() (line 19 of /sites/all/modules/cer/corresponding_entity_references.admin.inc).
Warning: Invalid argument supplied for foreach() in corresponding_entity_references_settings_form() (line 19 of /sites/all/modules/cer/corresponding_entity_references.admin.inc).
Notice: Undefined index: target_bundles in corresponding_entity_references_settings_form() (line 19 of /sites/all/modules/cer/corresponding_entity_references.admin.inc).
Warning: Invalid argument supplied for foreach() in corresponding_entity_references_settings_form() (line 19 of /sites/all/modules/cer/corresponding_entity_references.admin.inc).
Is this a misconfiguration on my part? If, so could you direct me to a solution?
Many thanks!
Comments
Comment #0.0
sameer commentedcorrected spelling
Comment #1
chertzogHave you set up an entity reference field on 2 entity types that point to each other? By just glancing at the function, it would seem like you are missing en entity reference field. If this is not the case, could you describe your set up?
Comment #2
sameer commentedHi,
thanks for your speedy reply. I've created two content types (A & B) that each have an entity reference field that points to the other. However, in 'field settings' for type A, under 'Entity selection mode' I was using a view to restrict the content type to type B and in 'field settings' for type B the view was restricted to type A. Since then I have changed this to using the 'Simple' option in 'Entity selection mode' instead of views and the notices and warnings no longer show up! Nice.
So it looks like it's a problem with the entityreference_view_widget module. Thanks for your help!
Comment #3
sameer commentedComment #4
gabrielemontano commentedHi,
I've the same configuration and i've uninstalled entityreference_view_widget and but the problem persists!
Comment #4.0
gabrielemontano commentedcorrected spelling