Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.7.6
-
Fix Version/s: Unscheduled
-
Component/s: CiviCRM Search
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
To reproduce:
- Go to "Search > Search Builder" (I think there's a notice or warning here but I didn't capture it)
- Enter some criteria, e.g.: "Contacts Street IS NOT NULL"
- Select Records: All X records
- Click "Actions > Export contacts"
- Click "Select fields for export"
- Click "Continue"
Throughout this process, PHP notices appear:
Warning: asort() expects parameter 1 to be array, null given in /path/to/civicrm/CRM/Core/BAO/Mapping.php on line 609
Warning: Invalid argument supplied for foreach() in /path/to/civicrm/CRM/Core/BAO/Mapping.php on line 620
If the server is displaying notices, which of course it shouldn't be, page rendering will break. Example: Select some criteria and click "Export."
Warning: asort() expects parameter 1 to be array, null given in /path/to/civicrm/CRM/Core/BAO/Mapping.php on line 609
Warning: Invalid argument supplied for foreach() in /path/to/civicrm/CRM/Core/BAO/Mapping.php on line 620
Warning: Cannot modify header information - headers already sent by (output started at /path/to/CRM/Core/BAO/Mapping.php:609) in /path/to/civicrm/CRM/Utils/System/Base.php on line 895