Vox Posted May 17, 2017 Share Posted May 17, 2017 Hi, I've just upgraded and am getting an error on the 5 min cron job. I'm getting a Critical Error with a reason of Undefined index: SCRIPT_NAME Any one else getting this? As cron.php is encoded it's a little difficult to understand what the issue is. 0 Quote Link to comment Share on other sites More sharing options...
Vox Posted May 17, 2017 Author Share Posted May 17, 2017 Just had a reply to a ticket and this is due to the PHP error reporting level being set in the PHP environment. Setting the PHP environment to be sensitive to E_WARNINGs can in some instances cause the error. So reducing the error reporting level is an option, or WHMCS can provide a hotfix to resolve this. 0 Quote Link to comment Share on other sites More sharing options...
skynetworkhu Posted May 18, 2017 Share Posted May 18, 2017 Same error on CRON: Critical Error Undefined index: SCRIPT_NAME 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted May 18, 2017 Share Posted May 18, 2017 Hi guys, The cron hot fix is also located at https://forum.whmcs.com/showthread.php?129078-CORE-11283-Cron-failing-with-error-undefined-index-SCRIPT_NAME 0 Quote Link to comment Share on other sites More sharing options...
skynetworkhu Posted May 19, 2017 Share Posted May 19, 2017 Thank you. 0 Quote Link to comment Share on other sites More sharing options...
causion Posted May 28, 2017 Share Posted May 28, 2017 Hi guys, The cron hot fix is also located at https://forum.whmcs.com/showthread.php?129078-CORE-11283-Cron-failing-with-error-undefined-index-SCRIPT_NAME Hi, I was receiving this error also and updated the hotfix. The cron is not sending any emails at all. In the Automation page it says it has ran but on the main overview it says it has not (since I ran it directly via the shell) If I run the command with all --force it completes and sends me the email. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
ethical Posted May 29, 2017 Share Posted May 29, 2017 Hi, I was receiving this error also and updated the hotfix. The cron is not sending any emails at all. In the Automation page it says it has ran but on the main overview it says it has not (since I ran it directly via the shell) If I run the command with all --force it completes and sends me the email. Any ideas? how do i get it to process any cron tasks for the last 5 days since nothing has been generated or processed? anyone? thanks 0 Quote Link to comment Share on other sites More sharing options...
ethical Posted May 30, 2017 Share Posted May 30, 2017 no one? this is getting problematic, my system has not created or processed a credit card in 5 days, issuing the --force command on the command line does nothing. can someone advise as to how to get this fixed, ive applied the patch but i need all past /missed invoices generated? thanks 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.