Jump to content

WHMCS Updated - Receiving cron error


Recommended Posts

Hi,

After updating to the latest version received an error...

*************************

1> ERROR:

g******@************.com [~]# php -q /home/g******/*********er/crons/cron.php
Whoops\Exception\ErrorException:
The file /home/g******/public_html/i*****n/modules/addons/Easy_WHMCS/hooks.php was encoded with the Encoder for PHP 7.2 and can only run on PHP 7.2 or later.
If you are the administrator of this site then please upgrade to PHP 7.2 or later and install the corresponding ionCube Loader. in Unknown:0

*************************

*************************

2> Email Cron Error Received:

Your WHMCS is configured to perform the Daily System Cron during the hour of 12 pm. However, the Daily System Cron did not execute within that hour as expected.

This may be due to the scheduled time specified in your web hosting control panel's cron entry. Please ensure your web hosting control panel executes the WHMCS System Cron (cron.php) at least once during the hour of 12 pm.

*************************

 

How to fix this ?

 

 

Link to comment
Share on other sites

Hi Dennis

Thanks for your response, but what to do with the error of cron...

-------------------

Warnings
Cron PHP Version Mismatch
Your environment appears to be running a different PHP version (5.6.40) for the System Cron than the currently loaded PHP version (7.2.26). This may cause issues running your System Cron.

-------------------

 
Link to comment
Share on other sites

58 minutes ago, VirtualWorldGlobal said:

How to fix this ?

Your "Easy_WHMCS" addon has been encoded with PHP 7.2 support hence you have two options:

  1. Contact the developer of "Easy_WHMCS" and ask him to provide the "bundled" version that works with any version of PHP (don't do that, it's not his fault)
  2. Make sure that your server uses PHP 7.2 for EVERYHING. The problem here is that the local PHP that runs your WHMCS uses v7.2 but cron job is still using v5.6.40. In other words you need to fix your server
Edited by Kian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated