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

tinem’s picture

Priority: Normal » Major

On 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?

tinem’s picture

No 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?

nplowman’s picture

I'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:

We're sorry. This document is not published.

I'm not sure if there is anything that can be done until that feed has been fixed.

nplowman’s picture

Update -
Updating to Version 7.x-3.7 fixed this issue for me.

yuriy mudriy’s picture

Status: Active » Closed (fixed)

After the upgrade to version 7.x-3.7, this issue has been resolved.

yuriy mudriy’s picture

After upgrading to version 7.x-3.7 this bug will be fixed.

yuriy mudriy’s picture

Priority: Major » Normal