Closed (fixed)
Project:
GMap Module
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
20 Mar 2011 at 15:50 UTC
Updated:
20 Mar 2011 at 16:01 UTC
Here again the gmap_plugin_style_gmap.inc ... but today on line 144.
I was adjusting some parameters in a view and, after removing latitude and longitude, suddenly this error ina a white screen of death appears.
Now my site is completely stuck. I can't do anything. The message seems to be eternal.
About line 144 there's this bunch of code lines:
foreach ($records as $row_index => $row) {
$this->view->row_index = $row_index;
$lat = (float)$row->{$lat_field};
$lon = (float)$row->{$lon_field};
please, I need some real help, I have only old backups
Comments
Comment #1
SestuDeus commentedWhen the site is stuck, via ssh I edited the following lines of the file: sites/all/modules/gmap/gmap_plugin_style_gmap.inc (about line 144):
from
foreach ($records as $row_index => $row) {
$this->view->row_index = $row_index;
$lat = (float)$row->{$lat_field};
$lon = (float)$row->{$lon_field};
to
foreach ($records as $row_index => $row) {
$this->view->row_index = $row_index;
$lat = (float)$row->{1};
$lon = (float)$row->{1};
now the site can run again, I can edit the view who broke the balls and re-edit the above lines to the original ones.