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
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
Comment #1
Marco Palmero commentedI deleted the view and everything is back...
From what I recall I was playing with different combinations of fields...
Comment #2
gman_ commentedI 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
Comment #3
matthemattical commentedIn 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.
Comment #4
carnau commentedI get the same error as #3
Comment #5
fotuzlab commentedIt 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
Comment #6
rooby commentedThere 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?