Notice: Undefined index: label in _field_reference_potential_references_standard() (line 682 of E:\xampp\htdocs\sites\all\modules\field_reference\field_reference.module).
Notice: Undefined index: label in _field_reference_potential_references_standard() (line 682 of E:\xampp\htdocs\sites\all\modules\field_reference\field_reference.module).
Comments
Comment #1
danielb commentedWhat entity type are you attaching the field to?
Comment #2
kaizerking commentedProfile2 profile
Comment #3
kaizerking commentedPS: it is attached to field collection field, this filed collection filed is attached to Host entity Profile2 profile
Comment #4
danielb commentedI am sometimes told my modules don't work with Field Collection or Profile2. With 107 and 61 open bug issues respectively, I am not entirely convinced that's my fault.
Comment #5
danielb commentedwell the profile2 hook_entity_info definitely declares a label, so I don't know what's happened
Comment #6
danielb commentedany chance you could debug just above where the error happens.
From this:
to this:
and see what message appears (when you normally get that error)
Comment #7
kaizerking commentedWhat I am doing is :
I am creating field reference field in a content type, and then trying to select a Term reference field in field collection field , which has some fields attached to it,the filed I am selecting is a term reference field.
and it is multivalue hierarchical select field:
the result of the debug is here:
Comment #8
danielb commentedperfect, thank you!
Comment #9
danielb commentedI've committed changes, it should not show this error anymore. I'll leave this issue open for a little while in case there are side-effects or further related issues in the process.
Comment #10
danielb commented