Answers.Body: <p>It sounds like you perhaps aren't using a supported version of PHP.  I would check your version; my guess is that you're on PHP 5.4, since 5.5 is the minimum supported version in Civi 4.7.31.</p>
  
  <p>I would restore your site from a backup if you're not in a position to upgrade PHP immediately - but my advice is to try to upgrade PHP.  PHP 5.4 is known to be insecure and hasn't received security updates in <a href="http://php.net/supported-versions.php" rel="nofollow noreferrer">almost 3 years</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-18T05:25:46.760Z
Answers.LastActivityDate: 2018-03-18T05:25:46.760Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Version 4.7.31 was installed and now an hourly cron job is erroring like this:</p>
  
  <p>"Parse error: syntax error, unexpected '[' in /.../administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php on line 651.</p>
  
  <p>Any clues?</p>
  
Tags: <cron-job><cron>
Title: Upgrade to version 4.7.31 seems to have broken DAO.PHP
ThreadText: # Upgrade to version 4.7.31 seems to have broken DAO.PHP
  
  (Asked by: username_0 on 2018-03-17)
  
  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?
  
  **Tags:** cron-job, cron
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-18. Score: 2
  
  It sounds like you perhaps aren't using a supported version of PHP. I would check your version; my guess is that you're on PHP 5.4, since 5.5 is the minimum supported version in Civi 4.7.31.
  
  I would restore your site from a backup if you're not in a position to upgrade PHP immediately - but my advice is to try to upgrade PHP. PHP 5.4 is known to be insecure and hasn't received security updates in [almost 3 years](http://php.net/supported-versions.php).
  
  
  ---
  
  