Closed (fixed)
Project:
FileField
Version:
6.x-3.3
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 May 2010 at 05:15 UTC
Updated:
6 Aug 2010 at 05:03 UTC
Ever since i have upgraded filefield from 6.x-3.2 to 6.x-3.3 ... it throws a message
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/vhosts/coolavenues.in/httpdocs/sites/all/modules/filefield/filefield_field.inc on line 275.
i am unable to make any sense of it
please help me
Comments
Comment #1
nevets commentedDid you run update.php?
Comment #2
quicksketch#791118: warning: array_merge(): Argument #2 is not an array
Comment #3
Ankit22 commentedCan you tell me how to fix this issue?
the given link does not helps
Comment #4
Ankit22 commentedWhat shall i do to this piece of code in order to remove the above mentioned error?
if (!empty($item['fid']) && empty($item['filepath'])) {
$items[$delta] = array_merge($item, field_file_load($item['fid']));
}
Comment #5
Ankit22 commented