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

[PATCH] Fatal error: _civicrm_object_to_array not found in Contact DashBoard

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 3.4.1
    • Fix Version/s: 3.4.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Able to reproduce on drupal.demo.civicrm.org: no

      The bug occured on a civicrm installation that was recently upgraded from CiviCRM 2.2 to 3.4.1.

      The contact dashboard is giving WSOD with the backtrace that _civicrm_object_to_array cannot be found in line 97 of CRM/Contribute/Page/UserDashboard.php

      I searched for this function in the files and found it in api/v2/utils.php and such adding require_once to the top of the UserDashboard.php file fixed the issue.

      Not sure if the attached patch is needed on more installations or if it is just our special case.

      I hope this helps. I can do more debugging if needed.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              fabianx Fabian Franz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: