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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | warning.PNG | 105.88 KB | cecshab |
| problem.jpg | 138.04 KB | kordou |
Comments
Comment #1
cecshab commentedI 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.
Comment #2
pcambraExactly 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
Comment #3
johnvClosing this very old issue. Please reopen if it is still valid.