Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.9
-
Fix Version/s: 2.0
-
Component/s: CiviContribute
-
Labels:None
Description
Using the API to create contributions in 1.9.12432 throws this error:
Fatal error: Class 'CRM_Contribute_PseudoConstant' not found in /home/www/drupal-5.6/sites/all/modules/civicrm/api/utils.php on line 440
The fix is adding this at the beginning of _crm_format_contrib_params():
require_once 'CRM/Contribute/PseudoConstant.php';