Closed (fixed)
Project:
Geocoder
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2011 at 19:59 UTC
Updated:
26 Jan 2012 at 23:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
noslokire commentedSame error and addressfield to geocoder setup, but I don't think has to do with the filefield, its a change to any field that triggers the error message.
Full message is:
Warning: Invalid argument supplied for foreach() in geocoder_widget_validate_walkthrough() (line 296 of /var/www/html/sites/all/modules/geocoder/geocoder.module).
Comment #2
adam_b commentedSame error and addressfield/geofield setup - I don't think it's a filefield issue either, but I've no idea what it is.
Notice: Uninitialized string offset: 0 in geocoder_widget_validate_walkthrough() (line 311 of C:\Users\Adam.Browne\Sites\wherechefseat2\sites\all\modules\geocoder\geocoder.module).Comment #3
tecjam commentedSame error in line 311.
The error gets displayed if you upload an image (for every image) to the node node form as well as after submitting.
Notice: Uninitialized string offset: 0 in geocoder_widget_validate_walkthrough() (Line 311 von /home/www-data/sitename.com/sites/all/modules/geocoder/geocoder.module)Comment #4
mikeytown2 commentedline 318 of /var/www/html/sites/all/modules/geocoder/geocoder.module
Issue is this: http://stackoverflow.com/questions/8610636/is-this-a-php-bug
Patch below fixes it for us. Patch also contains a white space fix.
Comment #5
noslokire commentedNice works for me
Comment #6
michaelfavia commentedWhite space handled in another issue. Patch rerolled and applied. Thank you for the work especially mikeytown for the patch.
http://drupalcode.org/project/geocoder.git/commit/f9268d3