I have set up a very simple view with an exposed filter for proximity by the postcode entered by the user. When I run the view, enter the postcode and hit 'Apply', I get the following message:

Fatal error: Call to a member function addField() on a non-object in /MYDOMAIN/sites/all/modules/location/location.inc on line 302

Any ideas?

Comments

rooby’s picture

Status: Active » Fixed

Thanks for the report.
Fixed - http://drupal.org/cvs?commit=499552

I'll also double check for this error across the whole module as there may be more occurrences.

rooby’s picture

There were a few more issues with non-chain-able db api functions being chained.
There have been fixed too - http://drupal.org/cvs?commit=499574

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.