Error message:

Fatal error: Cannot access empty property in html/modules/gmap_plugin_style_gmap.inc on line 116

No idea what I did wrong.

I just upgraded from gmap-6.x-1.0 release from 2008 to the dev version.

I was tweaking views when suddenly

Comments

Marco Palmero’s picture

I deleted the view and everything is back...

From what I recall I was playing with different combinations of fields...

gman_’s picture

Version: 6.x-1.x-dev » 6.x-1.1

I have also received this error after creating a new view:

Fatal error: Cannot access empty property in /home/mysite/public_html/sites/all/modules/gmap/gmap_plugin_style_gmap.inc on line 188

matthemattical’s picture

In case this helps anyone, I was just receiving this error (on line 188, not 116) because I had deleted the field that was marked to be displayed as a tooltip upon hovering over a marker on my views GMap style settings. When I went to investigate, it had supplied a new field (being as how it's a select input, something had to be selected, right?), but didn't work again until I saved the new setting and saved the view again.

carnau’s picture

I get the same error as #3

fotuzlab’s picture

It is indeed an issue of missing/broken fields. Once the field is broken/missing, this error is thrown on every page where the map was enabled.
To correct the error, go to the corresponding view from admin/build/views and remove the broken field.
In case you still see this error...DO CLEAR YOUR CACHE before trying anything else

rooby’s picture

Status: Active » Postponed (maintainer needs more info)

There have been lots of fixes to the views integration of location & gmap modules.

Can you please try the latest versions of both and see if the problem still exists?