Closed (fixed)
Project:
Location
Version:
6.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2015 at 16:29 UTC
Updated:
18 Jan 2016 at 15:05 UTC
Jump to comment: Most recent
When I click "Geocoding options" from my site http://beta.findtoilet.dk/admin/settings/location/geocoding I get this error "Fatal error: Call to a member function asXML() on a non-object in /home/www/beta.findtoilet.dk/sites/all/modules/contrib/location/geocoding/google.inc on line 36"
I'm not sure how to solve this, please? Hope I have reported the issue the correct way.
Comments
Comment #1
tinem commentedOn line 36 I have this
cache_set('location_google', $xml->asXML());I have compared google.inc from 2 versions 6.x-3.4 + 6.x-3.x-dev and it looks like this http://tinemuller.dk/div/google.inc_difference.html. Have tried uploading 6.x-3.x-dev without luck. What do I need to do to solve this problem, please?
Comment #2
tinem commentedNo one have an opinion about my problem, please?
Maybe I just have to live with this error until a major update will be made? I have read that the last vers that worked without this error was 3.2 so I could have had it for years. I only use geocoding for Denmark so maybe it will not be a problem for me?
Comment #3
nplowman commentedI'm running into the same error with version 7.x-3.6
It looks like the module relies on an XML feed for the list of countries, which is currently configured as this URL:
https://spreadsheets.google.com/feeds/list/p9pdwsai2hDMsLkXsoM05KQ/defau...
(This can be found inside of {module_folder}/geocoding/google.inc on line 16)
However, when I try to access that URL in a browser, I am seeing this error:
I'm not sure if there is anything that can be done until that feed has been fixed.
Comment #4
nplowman commentedUpdate -
Updating to Version 7.x-3.7 fixed this issue for me.
Comment #5
yuriy mudriy commentedAfter the upgrade to version 7.x-3.7, this issue has been resolved.
Comment #6
yuriy mudriy commentedAfter upgrading to version 7.x-3.7 this bug will be fixed.
Comment #7
yuriy mudriy commented