Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.9
-
Fix Version/s: 3.1
-
Component/s: CiviContribute
-
Labels:None
Description
(v2.2.7)
When ContributionProcessor.php is run, if a donation is pulled down from a person who also happens to have a Drupal account on the system, then CiviCRM tries to update the user's Drupal account. However, because ContributionProcessor.php bypasses the Drupal framework (I think), the Drupal functions are unavailable to the script and you get errors like this:
<b>Fatal error</b>: Call to undefined function user_load() in <b>/var/www/support.creativecommons.org/www/sites/default/modules/civicrm/CRM/Core/BAO/CMSUser.php</b> on line <b>545</b><br />
I suppose that ContributionProcessor.php should either include the Drupal framework, or else somehow skip trying to update the Drupal user.