easyhosting Posted January 28 Share Posted January 28 upto today everything has been working fine. then every 5 mins from 3am this morning i have been getting this cron email Subject: Cron <majesty@c7> php -q /home/majesty/public_html/clients/crons/cron.php -vvv >> /home/majesty/public_html/clients/crons/crondebug.txt message: Cannot load the ionCube PHP Loader - it was already loaded I know the loader is installed so whey is cron keep trying to load it 0 Quote Link to comment Share on other sites More sharing options...
Solution wtools Posted January 29 Solution Share Posted January 29 Hello, 1) You had made any change recently? 2) Your cron command is using the php, php -q /home/majesty/public_html/clients/crons/cron.php (php might be /usr/bin/php, just check which php) Is it the same php used by the WHMCS too? 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted January 29 Author Share Posted January 29 13 hours ago, wtools said: Hello, 1) You had made any change recently? 2) Your cron command is using the php, php -q /home/majesty/public_html/clients/crons/cron.php (php might be /usr/bin/php, just check which php) Is it the same php used by the WHMCS too? not made any changes to anything, ended up removing cron job as my phone and email were full of these reports that took hrs to remove 0 Quote Link to comment Share on other sites More sharing options...
wtools Posted January 31 Share Posted January 31 Have you checked my second question? just to make sure that there is no conflict in the php versions. 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted February 11 Author Share Posted February 11 On 1/31/2026 at 8:52 AM, wtools said: Have you checked my second question? just to make sure that there is no conflict in the php versions. php versions have never changed, nothing has changed 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted February 23 Author Share Posted February 23 On 1/29/2026 at 7:34 AM, wtools said: Hello, 1) You had made any change recently? 2) Your cron command is using the php, php -q /home/majesty/public_html/clients/crons/cron.php (php might be /usr/bin/php, just check which php) Is it the same php used by the WHMCS too? attached is the cron command i am told to use. still get the error 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted February 24 Share Posted February 24 Have you tried these troubleshooting steps? https://docs.whmcs.com/9-0/troubleshooting/troubleshoot-cron-issues/cron-failures/ 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted Thursday at 10:59 PM Author Share Posted Thursday at 10:59 PM (edited) On 1/31/2026 at 8:52 AM, wtools said: Have you checked my second question? just to make sure that there is no conflict in the php versions. website php: alt-php74 WHMCS php: 7.4.33 Configuration File (php.ini) Path /opt/alt/php74/etc Loaded Configuration File /opt/alt/php74/etc/php.ini Edited Thursday at 11:02 PM by easyhosting added image 0 Quote Link to comment Share on other sites More sharing options...
bear Posted Thursday at 11:14 PM Share Posted Thursday at 11:14 PM /usr/bin/php uses the default *server* php version. You're using "/opt/alt". which implies the site uses a non server php instance. Have you tried looking at php info or your control panel to see what the server default php is?? 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted Friday at 01:48 PM Author Share Posted Friday at 01:48 PM (edited) 14 hours ago, bear said: /usr/bin/php uses the default *server* php version. You're using "/opt/alt". which implies the site uses a non server php instance. Have you tried looking at php info or your control panel to see what the server default php is?? this is what i get from phpinfo.php Configuration File (php.ini) Path /opt/alt/php74/etc this has not been an issue until recently Edited Friday at 01:50 PM by easyhosting 0 Quote Link to comment Share on other sites More sharing options...
bear Posted Friday at 04:11 PM Share Posted Friday at 04:11 PM Was that taken from the WHMCS phpinfo page, or one from the server's control panel or shell? Just calling "php" will use the server's version, which I'd guess is the cause. View this, look for the yellow part, and adjust your PHP call in the cron to the one used by your WHMCS installation (7.4): https://help.whmcs.com/m/troubleshooting/l/700394-troubleshooting-ioncube-errors 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted yesterday at 02:48 PM Author Share Posted yesterday at 02:48 PM (edited) Sorted Edited yesterday at 02:48 PM by easyhosting 0 Quote Link to comment Share on other sites More sharing options...
bear Posted yesterday at 03:00 PM Share Posted yesterday at 03:00 PM And it was...? 1 Quote Link to comment Share on other sites More sharing options...
wtools Posted 1 hour ago Share Posted 1 hour ago Glad that it was sorted 🙂 What was the reason for the issue? Just curious 🙂 0 Quote Link to comment Share on other sites More sharing options...
easyhosting Posted 55 minutes ago Author Share Posted 55 minutes ago 5 minutes ago, wtools said: Glad that it was sorted 🙂 What was the reason for the issue? Just curious 🙂 i had to pass this onto my host as i dont have server access and they sent me this along with updated cron command 'Upon checking from our end the problem was occurring because the cron was running with the system PHP binary, which caused ionCube to be loaded more than once. This leads to the error emails you were receiving.' 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.