Using a Sept. 18th dev version - which works fabulously for the most part - except that I'm getting the following error report on pages that display the attached view:
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /Users/thomascermak/Sites/londonfuse/sites/all/modules/activity/activity.module on line 358.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | array.patch | 1.15 KB | Scott Reynolds |
| friend_activity.txt | 6.47 KB | pribeh |
Comments
Comment #1
Scott Reynolds commentedFunny, its really happening when you go to the page display?
Anyways, give this a try.
Comment #2
pribeh commentedVanished! Thanks!
Comment #3
liliplanet commentedHi,
I also have the same problem, although have activity.module of 20 September and the patch is not possible in latest version.
array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/public_html/sites/all/modules/activity/activity.module on line 358.Most appreciate any reply :)
Lilian
Comment #4
Scott Reynolds commentedI was able to just fine.
Anyways, I committed a different version of this patch. The patch posted i this issue only really helped to find the problem. My committed sortof fixed it? hook_token_values() is being called without passing in the $object.. That is causing problems previously, because if the $object was empty() then the hook_activity_token_values() would return NULL instead of an array.
My commit makes it always return an array even if the $object is empty().
http://drupal.org/cvs?commit=266212
Comment #5
Scott Reynolds commented