CRM-21846 Upgrade to version 4.7.31 seems to have broken DAO.PHP

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 4.7.31
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Version 4.7.31 was installed and now an hourly cron job is erroring like this:

      "Parse error: syntax error, unexpected '[' in /.../administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php on line 651.

      Any clues?

        Attachments

          Activity

          [CRM-21846] Upgrade to version 4.7.31 seems to have broken DAO.PHP
          Paul Butler added a comment -

          I answered my own question , sort of. It was staring me in the face - the cronjob was using PHP 5.3 which , for some reason, didn't like that script.

          Running it under 5.6 worked and now I'm moving them all across to PHP 7

          Eileen McNaughton added a comment -

          yay - thanks for letting us know

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Butler

              Dates

              • Created:
                Updated:
                Resolved: