Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19502

Export of contacts generating asort/foreach warnings

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.9
    • Fix Version/s: 4.7.13
    • Component/s: Core CiviCRM
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Attempts to export selected contact records generate errors. Sample error message shown below from an attempt to export the Contact ID from four records of Contact Type Organization-- but similar errors were generated by attempts to generate exports of different contact types and different/multiple fields. I've replaced actual domains with the word "SiteName"

      Warning: asort() expects parameter 1 to be array, null given in /home/SiteName/websites/sandbox-SiteName.org/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Mapping.php on line 606
      Warning: Invalid argument supplied for foreach() in /home/SiteName/websites/sandbox-SiteName.org/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Mapping.php on line 617
      Warning: Cannot modify header information - headers already sent by (output started at /home/SiteName/websites/sandbox-SiteName.org/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Mapping.php:606) in /home/SiteNamewebsites/sandbox-SiteName.org/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 895
      "Contact ID" "83129" "84858" "84879" "85719"

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              LNathanielGSL Leslie Nathaniel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: