On a fresh install I get the error
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in _webform_conditional_possible_trigger_components() (line 419 of .../sites/all/modules/webform_conditional/webform_conditional.module).
Warning: array_merge() [function.array-merge]: Argument #3 is not an array in _webform_conditional_possible_trigger_components() (line 419 of /home/plymouthphoto/jaeruberto/sites/all/modules/webform_conditional/webform_conditional.module).on the Webform Edit Component page.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1135998_5-warning_argument_2_is_not_an_array.patch | 744 bytes | robertom |
Comments
Comment #1
jelle_sI got the same error on a fresh d7 install
Comment #2
turneight commentedHi all,
from the php manual:
The behavior of array_merge() was modified in PHP 5. Unlike PHP 4, array_merge() now only accepts parameters of type array. However, you can use typecasting to merge other types.
I changed the line 419 in webform_conditional.module
so it works
Comment #3
MrPhilbert commentedThank you. Great save!
Comment #4
ahkiam commentedThank you. I had the same error and this fixed it.
Comment #5
robertom commentedComment #6
bayousoft commentednice fix ! !
Comment #7
brightboldAwesome. This patch solved the problem for me.
Comment #8
tedbow@robertom,
Thanks for finding this. I had fixed this in D6 but not D7.
This is now in D7. Sorry, didn't get your "handle" in the on the commit message which I try to do.