The sample csv file will produce the warnings. I am using Drupal 4.7.2
* warning: Invalid argument supplied for foreach() in /home/hanschr/public_html/cms/modules/user_import/user_import.module on line 872.
* warning: asort() expects parameter 1 to be array, null given in /home/hanschr/public_html/cms/modules/user_import/user_import.module on line 877.
Comments
Comment #1
xenotica commentedOddly enough this just stopped happening. So the warnings are gone. Not sure What I did. This may not be a bug after all.
Comment #2
robert castelo commentedComment #3
fluitfries commentedI also see this error. New drupal 4.7.4 installation, using latest HEAD of user_import. Using PHP 5.2 and Apache/1.3.33 (Darwin). My user_import module is installed to /sites/default/modules/user_import/
Here's the output of the error:
Hope this helps.
Comment #4
fluitfries commentedthis is the same as issue: http://drupal.org/node/84586
it happened when i had the profile module enabled but had not yet added any profile fields. i simply turned off the profile module and the error disappeared.