Notice: Undefined index: #wrapper_id in addressfield_format_geocomplete_generate() (line 26 of /sites/all/modules/addressfield_geocomplete/plugins/format/geocomplete.inc).
Notice: Undefined index: country in addressfield_format_geocomplete_generate() (line 68 of /sites/all/modules/addressfield_geocomplete/plugins/format/geocomplete.inc).

Comments

monstrfolk created an issue. See original summary.

glynster’s picture

@monstrfolk Yup same here, I think this is because the State and Zip are not being pulled in from Google. Did you find a resolve to this?

monstrfolk’s picture

No.

glynster’s picture

This module has huge potential and resolves other issues but sadly this is a deal breaker for us.

monstrfolk’s picture

Have you tried addressfield_autocomplete?

https://www.drupal.org/project/addressfield_autocomplete

glynster’s picture

We have, sadly produces a similar error in that after the address is populated it does not always push the state. Plus when you have other AJAX requests in the form the form it breaks the JS. So we have not been able to use either. This module however uses an up to date library and just got released, so I was hoping for the best!

monstrfolk’s picture

Sounds like something else is going on...is your site live?

glynster’s picture

No we stopped using it addressfield_autocomplete for those 2 reasons, state no set unless you set United States as the default country and if you have other JS requests on the form it breaks them. For example we use Drag'n Drop Uploads. So if you delete the image, you can no longer upload a new one and the address autocomplete no longer works. If you refresh the form it works again, but once you delete the image same issue arises.

monstrfolk’s picture

Sent you a PM.

caschbre’s picture

Can you describe the configuration and what the steps are to reproduce the error? My projects haven't experienced this so I'd be happy to try and fix this.

caschbre’s picture

Assigned: Unassigned » caschbre
Status: Active » Postponed (maintainer needs more info)