Closed (fixed)
Project:
GMap Module
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2006 at 23:54 UTC
Updated:
14 May 2007 at 20:36 UTC
PHP5 (the only one I use) gives the following error when trying to show a map:
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/example/modules/gmap/gmap.module on line 619.
The line in question is:
$tt=array_merge($tt,gmap_dopoint($ttt[$i],$ver));
at this point $tt is not initialized, so the following code will work:
$tt=gmap_dopoint($ttt[$i],$ver);
Marius
Comments
Comment #1
xamox commentedThank you this worked for me.
Comment #2
afagioliI have the same PHP5 problem when adding feed tag to a working gmap
example
the same map, without feed tag is working fine
Comment #3
bdragon commentedShould be fixed by http://drupal.org/node/139098..
Comment #4
dries commented