Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
glynster CreditAttribution: glynster commented@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?
Comment #3
monstrfolk CreditAttribution: monstrfolk commentedNo.
Comment #4
glynster CreditAttribution: glynster commentedThis module has huge potential and resolves other issues but sadly this is a deal breaker for us.
Comment #5
monstrfolk CreditAttribution: monstrfolk commentedHave you tried addressfield_autocomplete?
https://www.drupal.org/project/addressfield_autocomplete
Comment #6
glynster CreditAttribution: glynster commentedWe 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!
Comment #7
monstrfolk CreditAttribution: monstrfolk commentedSounds like something else is going on...is your site live?
Comment #8
glynster CreditAttribution: glynster commentedNo 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.
Comment #9
monstrfolk CreditAttribution: monstrfolk commentedSent you a PM.
Comment #10
caschbre CreditAttribution: caschbre commentedCan 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.
Comment #11
caschbre CreditAttribution: caschbre commented