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

xamox’s picture

Thank you this worked for me.

afagioli’s picture

I have the same PHP5 problem when adding feed tag to a working gmap
example

[gmap |id=map2 |center=37.276, -107.88 |zoom=5 |width=100% |height=800px |control=Large |type=Map |tcontrol=on|feed=http://www.website.it/modules/gmap/markers/orange.png::/taxonomy/term/8/0/feed]

the same map, without feed tag is working fine

bdragon’s picture

Status: Reviewed & tested by the community » Fixed

Should be fixed by http://drupal.org/node/139098..

dries’s picture

Status: Fixed » Closed (fixed)