Every time I edit a profile from an user being the admin 1 I get all these errors multiplied for the amount of conditions I have:

Notice: Undefined index: #language en conditional_fields_dependent_validate() (línea 686 de /home/MYSITE/www/SUBFOLDER/sites/all/modules/conditional_fields/conditional_fields.module).
Notice: Undefined index: en conditional_fields_dependent_validate() (línea 686 de /home/MYSITE/www/SUBFOLDER/sites/all/modules/conditional_fields/conditional_fields.module).
Notice: Undefined index: en conditional_fields_evaluate_dependencies() (línea 1012 de /home/MYSITE/www/SUBFOLDER/sites/all/modules/conditional_fields/conditional_fields.module).
Warning: Invalid argument supplied for foreach() en conditional_fields_evaluate_dependencies() (línea 1015 de /home/MYSITE/www/SUBFOLDER/sites/all/modules/conditional_fields/conditional_fields.module).
Notice: Undefined index: en conditional_fields_evaluate_dependencies() (línea 1036 de /home/MYSITE/www/SUBFOLDER/sites/all/modules/conditional_fields/conditional_fields.module).

Comments

FiNeX’s picture

I'm experiencing the same error editing Drupal Commerce orders with a profile using conditional fields.

warmth’s picture

dqd’s picture

#2 exactly! Good finding and thanks for the link.

Thanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue as duplicate of #1562760: Notice: Undefined index: und in conditional_fields_evaluate_dependencies() (line 1020 of /..../sites/all/modules/conditional to merge forces on the way by cleaning up the issue queue.

Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others on this outdated version.

If you think this issue or missing feature should be addressed in a newer Drupal core 8 and above compatible version of this project, then please file a new issue to the latest dev.