AllanD Posted August 22, 2021 Share Posted August 22, 2021 Since I updated the software to 8.13 my cron jobs keep failing on every task. I found a troubleshooting article on how to get the error log for this and here is what it is saying. Quote Fatal error: The file /xxx/xxxx/whmcsdata/crons/cron.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0 I have confirmed with my host provider that ioncube is working properly and that they think it is the cron.php that could not be up to date. PHP is set to 7.3 so that isn't an issue as well. Any help would be great on this. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 23, 2021 Share Posted August 23, 2021 (edited) If you're using the multiPHP selector to have your site run as PHP7, but the system defaults to PHP5.6, that may be it. Make sure the cron is being called correctly, as in: /opt/cpanel/ea-php73/root/usr/bin/php -q /path/to/whmcs/cron/here Of course, that sounds more like you have the old cron file from that error. 😉 Edited August 23, 2021 by bear 1 Quote Link to comment Share on other sites More sharing options...
AllanD Posted August 23, 2021 Author Share Posted August 23, 2021 Thank you I will try this. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.