Hi i recently upgraded my drupal from 4.6 to 4.7 along with most of the available modules for 4.7. Everything worked perfectly. But now i am getting this warning message in drupal/user/ page.

* warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/modules/user.module on line 1454.
* warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/modules/user.module on line 1454.
* warning: Invalid argument supplied for foreach() in /home/site/public_html/drupal/modules/user.module on line 1454.

please let me know whats the problem and how to correct it.

--rafi

Comments

gnowels’s picture

Are you using CivicCRM?

That error appearred when I created a profile in CivicCRM with new 4.7 install and new Civic install.

You also may have a FastCGI error registered in your server logs if you tried to change the profile info in CivicCRM.

"God draws straight with crooked lines." Greely

http://www.mycatholicblog.net
http://www.opere-citato.org

hershel’s picture

I have the same experience--new Drupal 4.7 and CiviCRM 1.4 and I get that error.

Anyone have a solution?

chaos21in’s picture

My problem is fixed, dont know how exactly. But that i think got something to do with civicrm profiles...Disable the civicrm profiles for "my account" and see if that error goes. Check your civicrm profile or if possible delete and recreate them. Or just goto each custom data and later in each profile and just save them again, if you dont wish to save.

you may also like to check whether you mentioned drupal version 4.6 or 4.7 in your civicrm configuration file. This silly mistake i also made and after correcting it, it solved many problems.

Take latest tar ball of civicrm from www.openngo.org

HTH

--rafi

hershel’s picture

Oh, yes, now wouldn't that make sense? If you run Drupal 4.7, you must set that in the CiviCRM settings file. That fixed a (different) problem for me in fact.

Thanks!