I have a content type with a Geocoded address. Every time I submit a new node I get the following warning:
warning: Invalid argument supplied for foreach() in D:\www\vhosts\tlc2.tld\sites\all\modules\gmaps\gmaps_content.module on line 2662.
Line 2662 is foreach($address as $key => $value) {
This warning seems to not cause any malfunctions but I would like to know what is going on.
Thanks
Comments
Comment #1
xmarket commentedSomethink wrong in the token integration. (I couldn't find the bug yet...)
To remove the warning do this:
foreach((array)$address as $key => $value) {
Comment #2
xmarket commented