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.

Why am I seeing errors when trying to add or edit a Drupal user record with Drupal version 4.7?

If you are using Drupal 4.7, you MUST set the UF_VERSION to 4.7 in your civicrm.settings.php file.

define ( 'CIVICRM_UF_VERSION' , '4.7');

Symptoms of not setting this value properly include:

  • Blank screen when trying to add a user account
  • Error messages such as... array_shift() [function.array-shift]: The argument should be an array in /[drupal path]/drupal/includes/form.inc on line 469.
    *... or other errors.
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.