Closed (works as designed)
Project:
FileField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2011 at 01:19 UTC
Updated:
27 Apr 2011 at 23:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
szantog commentedand patch
Comment #2
nitebreedpatch is working +1
thnx!
Comment #3
3dloco commentedThanks Szantog your patch #1 and the one at #1105342: unserialize bug leads to warning: array_merge(): Argument #2 is not an array got rid of the warning messages for me.
Comment #4
quicksketchI'm sorry this patch seems entirely non-nonsensical:
How would this possibly help? The likely thing that would happen is that if $items[$delta] were NULL, it would then call array_merge() with a NULL argument (thus causing this exact error that you're trying to fix).
I'm going to focus on #857938: Argument #2 is not an array in /sites/all/modules/filefield/filefield_widget.inc on line 255 for fixing this error.