Active
Project:
GMap + Geo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 20:27 UTC
Updated:
11 Nov 2009 at 10:17 UTC
Jump to comment: Most recent file
I am getting the following error:
Fatal error: Cannot access empty property in /mysite.com/test/sites/all/modules/gmap_geo-HEAD/gmap_geo_plugin_style_gmap.inc on line 132
I have gmap_geo at head.
and geo at head.
I have a Geospatial data field using either gmap picker or openlayers map (either one) and I get that error when I look at the view.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot.png | 173.04 KB | barwonhack |
Comments
Comment #1
lordneon commentedAlso having the same problem but with a different error message:
Comment #2
vesapalmu commentedI had the same problem with a gmap view. The problem was caused with checking "Map this field" at admin / views / basic settings / Style: GMap for Geo. Everything works if I don't check anything, but when I choose the field that is supposed to be mapped it breaks down. I only have one cck location field on my content, so this is not an issue for me and the module works.
Comment #3
barwonhack commentedIt works well when used (with Postal, CCk, Gmap, Geo, etc.) as a *single* Gmap.
What I was hoping is that Gmaps could be displayed, using Views, for each node in, a Table or a grid view.
ERRORS
* warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
* warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
* warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/house2ho/public_html/pressflow/www-house2homepressflow/sites/all/modules/geo/includes/geo.wkb.inc on line 35.
SELECT node.nid AS nid,
node.title AS node_title,
location.lid AS location_lid,
node_data_field_geo.field_geo_geo AS node_data_field_geo_field_geo_geo,
node.type AS node_type,
node.vid AS node_vid,
SRID(node_data_field_geo.field_geo_geo) as node_data_field_geo_field_geo_srid,
AsBinary(node_data_field_geo.field_geo_geo) AS node_data_field_geo_field_geo_wkb,
AsBinary(Envelope(node_data_field_geo.field_geo_geo)) AS node_data_field_geo_field_geo_bbox,
AsBinary(Centroid(node_data_field_geo.field_geo_geo)) AS node_data_field_geo_field_geo_centroid,
location.latitude AS location_latitude,
location.longitude AS location_longitude
FROM node node
LEFT JOIN term_node term_node ON node.vid = term_node.vid
LEFT JOIN term_data term_data ON term_node.tid = term_data.tid
LEFT JOIN location_instance location_instance ON node.vid = location_instance.vid
LEFT JOIN location location ON location_instance.lid = location.lid
LEFT JOIN content_type_h2h_lighting_item node_data_field_geo ON node.vid = node_data_field_geo.vid
WHERE (node.status <> 0) AND (term_data.vid in ('5'))
GROUP BY nid, node_title, location_lid, node_data_field_geo_field_geo_geo, node_type, node_vid, location_latitude, location_longitude