|Notice: Undefined offset: 22 in webform_geofield_webform_submission_presave() (line 245 of /modules/all/webform_geofield/webform_geofield.components.inc).

May 14 16:59:28: mysite/system/ajax|http://mysite/group/surveys/group-survey|1||Exception: Google API returned zero results on , , , , , status.\nStatus: ZERO_RESULTS in geocoder_google() (line 117 of /var/aegir/platforms/7/modules/all/geocoder/plugins/geocoder_handler/google.inc).

I get the errors above in my error logs.

Steps to reproduce:
I have added an addressfield via webform_addressfield_extra (if there is another way to do it without this module, please share)
I assigned the field to webform_geofield

I go through the survey and leave the addressfield empty.

Please don't let geocoder attempt to geocode an empty address.

Comments

SocialNicheGuru created an issue.

socialnicheguru’s picture

I just noticed that this is exacerbated by webform_ajax.

I added an addressfield to the last step in a multi-step form.
At each step, I get the error above even before the user actually gets to the page where the addressfield is.

socialnicheguru’s picture

Ok. this error is there even without webform_ajax