Skip to end of metadata
Go to start of metadata
CiviCRM Documentation

This page refers to outdated version of CiviCRM. Check current version of documentation.

Drupal - my account: Error loading CiviCRM Profile. Warning: invalid argument supplied for foreach() in .../modules/user.module on line 1448

If you see this error when accessing the Drupal 'My Account' screen, the likely cause is that you are running Drupal 4.7 and have not set the UF_VERSION constant correctly in the CiviCRM settings file ( [drupal_root]/sites/default/civicrm.settings.php ).

For Drupal 4.7 sites, this setting should be set as follows:

<?php
define( 'CIVICRM_UF_VERSION' , '4.7' );
?>
Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.