When this module is enabled during simpletest runs, I receive all sorts of warnings:
array_diff_key() [function.array-diff-key]: Argument #1 is not an array Warning emf.sync.inc 45 emf_sync_lists()
array_diff_key() [function.array-diff-key]: Argument #2 is not an array Warning emf.sync.inc 46 emf_sync_lists()
array_intersect_key() [function.array-intersect-key]: Argument #1 is not an array Warning emf.sync.inc 47 emf_sync_lists()
Invalid argument supplied for foreach() Warning emf.sync.inc 49 emf_sync_lists()
Invalid argument supplied for foreach() Warning emf.sync.inc 53 emf_sync_lists()
Invalid argument supplied for foreach() Warning emf.sync.inc 57 emf_sync_lists()
Comment | File | Size | Author |
---|---|---|---|
#1 | emf-1265548-null-api-lists-1.patch | 788 bytes | q0rban |
Comments
Comment #1
q0rban CreditAttribution: q0rban commentedAttached patch fixes it for me.
Comment #2
pbuyle CreditAttribution: pbuyle commentedWhich plugin did you use when running the test? The
$api_lists
variable expected to be an array is the result of theget_lists
. If a plugin does not return an array, then the bug is in the plugin.