Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17789 Support PHP 7
  3. CRM-19529

PHP 7 - Upcoming/Recent Case Activities results into "Network Error"

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.14
    • Component/s: CiviCase
    • Labels:
      None
    • Documentation Required?:
      None
    • Sprint:
      4.7.10 Developery stuff
    • Funding Source:
      Core Team Funds

      Description

      Steps to reproduce -

      1) Navigate to Case Dashboard.
      2) Click on the expand icon of one of the listed case to show recent/upcoming activities.
      3) Network Error is encountered "Unable to reach the server. Please refresh this page in your browser and try again."

      This is due to a non-static function called statically at CRM/Case/Page/CaseDetails.php. It has been deprecated and will throw a "Notice: Undefined variable: this" in PHP 7.

      More Info at : http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.incompatible-this

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: