Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.2.0
-
Component/s: CiviMember
-
Labels:
Description
Tested on Drupal 7.12 and CiviCRM 4.1.2 with multilingual support (ES_es):
When attempting to make a member search if you select any of the following options:
- Find Memberships Pay Later?
- Find Test Memberships?
- Find Auto-renew Memberships?
the system shows a blank page with: "Non-Recoverable error: not of the type Integer".
This can be solved by performing the following change in [DRUPAL_ROOT]/sites/all/modules/CiviCRM/CRM/Member/BAO/Query.php
- Diff Query.php.original Query.php.patched
242c242
<CRM_Core_DAO :: GetFieldValue ('CRM_Core_DAO_OptionValue', 'Cancelled', 'value', 'label'),
—
> CRM_Core_DAO :: GetFieldValue ('CRM_Core_DAO_OptionValue', ts ('Cancelled'), 'value', 'label'),