I receive error:
warning: Illegal offset type in isset or empty in /modules/dependent_fields/includes/form_elements.inc on line 129.
As controller filed I try use text field - check-boxes and I try control text field -> text select
Regards
I receive error:
warning: Illegal offset type in isset or empty in /modules/dependent_fields/includes/form_elements.inc on line 129.
As controller filed I try use text field - check-boxes and I try control text field -> text select
Regards
Comments
Comment #1
smoothify commentedMerging a few issues related to the text field implementation, which needs to be improved to allow more functionality and fix some bugs.
Marking this one as a duplicate to help me clear up the queue.
#1050622: Improve text field implementation & fix bugs
Comment #2
tsimms commentedI've opened up this ticket, only because I see the same error message on a node reference field. So I'm pointing out that it doesn't appear to only be an issue with text fields.
Comment #3
jenyaart commentedI'm getting the same error... Trying to get one Node Reference field to act as a controller field to another Node Reference field. Both fields are select lists. It actually seems to work the way it should, except for this ugly error:
warning: Illegal offset type in isset or empty in ...../sites/default/modules/dependent_fields/includes/form_elements.inc on line 129.
Any ideas how to remove it?
Comment #4
pablov2 commented+ subscribing
I have the same issue
Comment #5
marc.groth commentedSubscribing... I am also getting this error.
The problem seems to be that the value of $value (which is an array) is being used as a key for another array (is that even allowed?).
I tried changing this line (line 130):
to
which makes the error message go away. But not sure if that actually breaks anything... Anyone able to test and try? I've yet to actually get this to work the way I want (think I'm missing something!)
Comment #6
smoothify commentedI believe this is already fixed in the dev version, which will shortly be rolled into a new release.
Comment #7
smoothify commented