Active
Project:
Openlayers
Version:
7.x-2.0-beta11
Component:
OL Views
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2013 at 10:33 UTC
Updated:
15 Jun 2015 at 09:05 UTC
Jump to comment: Most recent
Useing
and trying to build a grouped OpenLayers Data Overlay with any other field than the node title field crashes with:
"
...
HTTP-Code: 500
...
Pfad: /admin/structure/views/view/.../preview/openlayers_1/ajax
Statustext: error
Antworttext: "
any Ideas? Thank you very much for your effort in advance.
m-si
Comments
Comment #1
chapsou commentedHI ,
I have exactly the same issue and I don't understand why .
It's very embarrasing because i really need to display the map for my project en i can't cause of that error 500.
Please we need some help .
Thanks
Comment #2
broonThis is still a thing, I assume. I just came across this behaviour.
I have a vocabulary of towns, each term (=town) has its coordinates saved in GeoFields. In my view, I want to display events in these towns and it works fine without grouping. However, since there may be more than one event in a single town, I want to group them. That's when the 500 error appeared (already when still editing the view).
Error log shows the following:
PHP Fatal error: Call to a member function geometryType() on a non-object in /sites/all/modules/geophp/geoPHP/geoPHP.inc on line 189There is an issue for GeoPHP referencing the same function, I'll add that as a related issue.
In my case, the error was produced by a taxonomy term which hadn't a location set, thus the above error was caused by empty WKT values. Maybe OL should check first if the values are set before it calls the GeoPHP functions.