I looked for this in the existing issues, but may have missed it. Apologies if so!

I have a text field that I've set to have unlimited values, and thus the "add more" button is attached to it. When I click the "add another item" button when creating a node, nothing happens. The error that shows up in the log is:

Warning: array_values() [function.array-values]: The argument should be an array in conditional_fields_evaluate_dependency() (line 830 of /sites/all/modules/conditional_fields/conditional_fields.module).

However, if I add another field with unlimited values to the content type and attempt to use the "add another item" button when creating a node, it will fail on the first field I try and work on the other one. The above error message is logged twice when I do this though, so not sure if the error message is actually related to the problem.

I had a few other field-related modules installed, but uninstalled them and still have the same problem and receive the same error. Other than that, it's a fresh Drupal install.

Comments

mhindman’s picture

Okay, while attempting to debug, decided to completely wipe everything and start over from scratch. New Drupal install, only installed Conditional Fields, and everything seems to be working correctly so far. My assumption is a possible incompatibility with one of the other modules I installed (and subsequently uninstalled) on the original setup, so I'll keep testing.

yurgon’s picture

same bug

valfrenkel’s picture

The same bug, looks like it doesn't work with "Field collection" module

kenorb’s picture