Hi
First of all I use the latest version of drupal (6.14) in a wamp server V2 on Windows installation.
I have used the conent profile to make a profil node. at this node i have used the location module with the gmap module to have a map that sets the location of the user. I tryied to make a view to display a map with users with the following settings
Nype:node
Fields: Name
Filter: Type is one ot profile

If i make a page to display the map and set the style to gmap
and i got the message "warning: Invalid argument supplied for foreach() in C:\wamp\www\sites\all\modules\gmap\gmap\gmap_plugin_style_gmap.inc on line 172."

if I give the style=gmap to default i don't get this problem, but i cannot see anymap on the page

Please some help here..

Thank in advance

CommentFileSizeAuthor
#1 warning.PNG105.88 KBcecshab
problem.jpg138.04 KBkordou

Comments

cecshab’s picture

StatusFileSize
new105.88 KB

I have the same problem when I create a page for the location of my node.

Ntype:node
Style:gmap
Fields: Name
gmap-6.x-1.1
location-6.x-3.1
drupal-6.13

When I look at the code, the argument is something related to the field, and when u add the location field first before changing it to style gmap, there will be no warning message.
However, when I click on the page that I just created using views, I see nothing.

pcambra’s picture

Exactly the same problem, drupal 6.14 with node view type and gmap style I get warning: Invalid argument supplied for foreach() in gmap_plugin_style_gmap.inc

I have download the -dev version and these errors just went away

johnv’s picture

Status: Active » Closed (won't fix)

Closing this very old issue. Please reopen if it is still valid.