warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/vhosts/mysite.com/httpdocs/drupal/sites/all/modules/location/location.module on line 1385.

I am using cck location field to fill in location.

I get the error above.

C

CommentFileSizeAuthor
#4 location_country_fix.patch771 bytespingers

Comments

ksenzee’s picture

I'm getting this as well, and I'm not using cck location -- just core location.

davea’s picture

I am also getting this.

In my instance, I have enabled location for a cck.

Thanks!
DaveA

pingers’s picture

Getting the same issue here - seems like it's the location_country field causing the problem when the array_merge happens...
$defaults[$k] is undefined when $k is 'location_country'.
in location_empty_location($settings) 1409

pingers’s picture

StatusFileSize
new771 bytes

Made a patch to fix this... but it looks like some work is in progress in this area.

It gets rid of this error though.

bdragon’s picture

Status: Active » Closed (duplicate)