warning: array_merge() error

matthew_ellis24 - August 18, 2008 - 16:30
Project:cck_map
Version:5.x-3.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have started getting the following error randomly:

warning: array_merge() [function.array-merge ]: Argument #1 is not an array in /home/content/u/h/a/uhambo24/html/sites/all/modules/cck_map/cck_map.module on line 260.

from what I can find this is a problem with the array_merge function on line 260
return array($field['field_name'] => array_merge($node->$field['field_name'], $map_info));
however I'm unsure how to fix this

 
 

Drupal is a registered trademark of Dries Buytaert.