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

nevets’s picture

Did you run update.php?

quicksketch’s picture

Status: Needs work » Closed (duplicate)
Ankit22’s picture

Can you tell me how to fix this issue?
the given link does not helps

Ankit22’s picture

What 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']));
}

Ankit22’s picture

Status: Closed (duplicate) » Closed (fixed)