I have installed the locations module and the assoicated modules (location_phone, location views). I have also installed usernode to allow proximity searches. All that works nicely. But a warning message shows when adding a new user and this is the message:

 Invalid argument supplied for foreach() in
/srv/www/pknandita/htdocs/community/sites/pknandita.net/modules/location/location.module on line 828. 

The user is created normally. Looking at the code does not tell me much and I cannot figure out if a particular setting or another module is interfering with it. Anyway I am quite a novice at this.

Comments

geodaniel’s picture

Status: Active » Closed (duplicate)

I think this is probably related to http://drupal.org/node/114170 and user node adding location information. Do you want to see if the patch in there fixes the issue? Marking this one as a duplicate

pknag’s picture

The patch definitely fixes this - thanks. Surprisingly I never found that post after doing many searches.

geodaniel’s picture

I only posted it today (so really mine is the dup, but I didn't see yours either :)