Answers.Body: <p>Were there any php changes as well? I've seen this when there's multiple versions of php installed and cron is using a different one than the web server. Give the full path to php in your cron task for the version you want it to use, and/or check the hosting control panel to make sure php is the one you want.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-11T19:52:35.087Z
Answers.Text: A few months prior to this I changed to PHP 7.2 from version 5.  There were no noticeable issues after I made that change.  I haven't changed the Cron since setting it up years ago.
Answers.UserDisplayName: George Lozier
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-11T19:59:39.220Z
Answers.Text: Actually civihosting might have been where I saw it. Open a ticket with them and they should have it resolved pretty quick.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-10T19:22:25.623Z
Answers.LastActivityDate: 2019-03-10T19:22:25.623Z
Answers.UserDisplayName: Demerit
Answers.Body: <p>As suggested I opened a ticket with CiviHosting and the fixed it.  Here's what they did.</p>
  
  <p>The /home/phoenix/private/CiviCron.sh cron job was configured to work with PHP 5.6, but you have configured the account to use PHP 7.2 as the default PHP interpreter. To fix the cron job, we changed the PHP line in it from php to php7.cli.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-12T14:04:44.840Z
Answers.LastActivityDate: 2019-03-25T17:16:07.690Z
Answers.LastEditDate: 2019-03-25T17:16:07.690Z
Answers.UserDisplayName: George Lozier
Body: <p>I very recently upgraded from CiviCRM 5.6.1 to 5.10.4 and WordPress 4.9.9 to 5.1.  Since then I get the following Cron error.</p>
  
  <p>Failed loading /usr/local/ioncube/ioncube_loader_lin_7.2.so:  /usr/local/ioncube/ioncube_loader_lin_7.2.so: undefined symbol: zend_empty_string</p>
  
  <p>In spite of the error, the CiviCRM scheduled jobs are executed successfully.  What is going on?  Should I be worried about this?  It's annoying to get emails every half-hour about this error.</p>
  
  <p>** Added 3-11-19</p>
  
  <p>Here's my cron code.  We use <a href="https://civihosting.com/" rel="nofollow noreferrer">CiviHosting</a>.</p>
  
  <pre><code>/usr/local/bin/php.cli /home/phoenix/www/www/wp-content/plugins/civicrm/civicrm/bin/cli.php -u username -p password -e Job -a execute
  </code></pre>
  
Tags: <cron>
Title: Failed loading "ioncube_loader_lin_7.2.so" Cron Error after CiviCRM & WordPress Upgrades
ThreadText: # Failed loading "ioncube_loader_lin_7.2.so" Cron Error after CiviCRM & WordPress Upgrades
  
  (Asked by: username_0 on 2019-03-10)
  
  I very recently upgraded from CiviCRM 5.6.1 to 5.10.4 and WordPress 4.9.9 to 5.1.  Since then I get the following Cron error.
  Failed loading /usr/local/ioncube/ioncube_loader_lin_7.2.so:  /usr/local/ioncube/ioncube_loader_lin_7.2.so: undefined symbol: zend_empty_string
  In spite of the error, the CiviCRM scheduled jobs are executed successfully.  What is going on?  Should I be worried about this?  It's annoying to get emails every half-hour about this error.
  ** Added 3-11-19
  Here's my cron code.  We use CiviHosting.
  /usr/local/bin/php.cli /home/phoenix/www/www/wp-content/plugins/civicrm/civicrm/bin/cli.php -u username -p password -e Job -a execute
  
  **Tags:** cron
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-03-10. Score: 1
  
  Were there any php changes as well? I've seen this when there's multiple versions of php installed and cron is using a different one than the web server. Give the full path to php in your cron task for the version you want it to use, and/or check the hosting control panel to make sure php is the one you want.
  
  > **Comments:**
  > **username_0**: A few months prior to this I changed to PHP 7.2 from version 5.  There were no noticeable issues after I made that change.  I haven't changed the Cron since setting it up years ago.  
  > **username_1**: Actually civihosting might have been where I saw it. Open a ticket with them and they should have it resolved pretty quick.  
  
  ---
  
  ### Answer by username_0 on 2019-03-12. Score: 0
  
  As suggested I opened a ticket with CiviHosting and the fixed it. Here's what they did.
  
  The /home/phoenix/private/CiviCron.sh cron job was configured to work with PHP 5.6, but you have configured the account to use PHP 7.2 as the default PHP interpreter. To fix the cron job, we changed the PHP line in it from php to php7.cli.
  
  
  ---
  
  