Closed (outdated)
Project:
geoPHP
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2012 at 15:14 UTC
Updated:
21 Jul 2020 at 17:26 UTC
Jump to comment: Most recent
Comments
Comment #1
phayes commentedCould you tell me what it's trying to parse? Can you capture what's being passed to $read ?
Comment #2
dscutaru commentedI have something similar, but on node page, the string passed to read is an empty string. Actually, because of this error some nodes cannot be displayed.
Nodes have a geofield, and those throwing exception contain the following field:
I assume this field doesn't contain what it should, because node was created by feeds after importing an CSV file, and that is causing the error.
To fix I added in the geofield_map.module, function geofield_map_field_formatter_view, on line 62
if (empty($item['wkt'])) continue;
So the code looks like
Comment #3
spydmobile commentedSorry patrick, (and @dscutaru) but I have been away on medical and while I was gone the Virtual Machine having this problem was rebuilt from the ground up and I am not seeing this in the new one. I will keep my eyes open and if it resurfaces I will post again.
Franco
Comment #4
dscutaru commentedWow, so quick, I didn't even manage to edit my post...
I'm glad you are better !
Comment #5
neslee canil pinto