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.
I added a geofield to exisiting user accounts next to the adress filed with exisitng data. While trying to fill the geofield with geocode data from adresse field i just tried to edit and save one account. The geofield is still empty and this error vode was given after saving the user account:
Notice: Undefined index: value in geocoder_widget_get_field_concat() (Zeile 322 von /var/www/vhosts/famjam.org/httpdocs/sites/all/modules/geocoder/geocoder.widget.inc).
Anybody has an idea?
I use the latest drupal 7 and the latest recommenden geofield and geocoder module.
Comment | File | Size | Author |
---|---|---|---|
#4 | geocoder-1815142-4-fix_notice.patch | 513 bytes | Simon Georges |
Comments
Comment #1
jday CreditAttribution: jday commentedI'm getting the same error, the field used to work....I'm geocoding from an address field
Drupal 7.16
Address Field 7.x-1.0-beta3
Geocoder 7.x-1.2
Geofield 7.x-1.1
geoPHP 7.x-1.6+2-dev (2012-Sep-05)
GeoPHP 1.1 library installed at sites/all/modules/geophp/geoPHP/geoPHP.inc
Comment #2
Breakerandi CreditAttribution: Breakerandi commentedAnybody can help please?!?
Comment #3
mmittelman CreditAttribution: mmittelman commentedI have fixed the problem by surrounding the offending line with an if statement so it looks like:
Comment #4
Simon Georges CreditAttribution: Simon Georges commentedPatch provided. Credit goes to mmittelman.
Comment #5
ptmkenny CreditAttribution: ptmkenny commentedI can confirm that the patch posted in #4 fixes the error when geocoding from an addressfield. Thanks Simon Georges and mmittelman!
Comment #6
ptmkenny CreditAttribution: ptmkenny commentedEDIT: Ignore duplicate post.
Comment #7
Simon Georges CreditAttribution: Simon Georges commentedUnassigning.
Comment #8
Simon Georges CreditAttribution: Simon Georges commentedDamn it, first commit, bad message (wrong issue number).
Anyway, fixed!