I'm not sure if this error is occurring because of geocoder, or because of geofield's integration with geocoder, so I figured I'd throw it in here and it can get moved if need be. When I perform a search using geofield proximity field in views, all of the results show up just as they should, but I get an error of:

Notice: Undefined index: geocoder_apikey_yahoo in geocoder_yahoo() (line 27 of /Applications/MAMP/htdocs/sites/all/modules/geocoder/plugins/geocoder_handler/yahoo.inc).

I am using yahoo geocoding on both the geofields themselves and on the proximity filter. I've tried looking up how to use an API key for yahoo's service, but I haven't found anything helpful thus far. Any suggestions?

Comments

Brandonian’s picture

Project: Geofield » Geocoder
Version: 7.x-2.x-dev » 7.x-1.x-dev

This is definitely a Geocoder issue. @mrweiner, do you have an API key setup for the Yahoo geocoder?

mrweiner’s picture

No I do not. As I said, I haven't been able to figure out exactly what to do to set one up. Is that what's causing the error?

Brandonian’s picture

You should be able to follow the instructions to get your Application ID here. After that, you should be able to enter it on your site at '/admin/config/content/geocoder.'

phayes’s picture

Status: Active » Fixed

I've added better error messaging. Marking as fixed.

Status: Fixed » Closed (fixed)

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