wpmattuk Posted September 9, 2018 Share Posted September 9, 2018 Hi everyone At 23.45 yesterday I received an email from Cron with the following content - [Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: update `tbltask_status` set `last_run` = 2018-09-08 22:45:03, `updated_at` = 2018-09-08 22:45:03 where `id` = 20) [PDOException] SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared all [-F|--force] [--email-report [EMAIL-REPORT]] Alas none of this means anything to me, can anyone offer guidance on what I should be doing? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 9, 2018 Share Posted September 9, 2018 Matt, 2 minutes ago, thisismatt said: Alas none of this means anything to me, can anyone offer guidance on what I should be doing? you could try what John suggests in the thread below... .. though I suspect you'll need to mention it in your recent support ticket and see what Support have to say. 0 Quote Link to comment Share on other sites More sharing options...
wpmattuk Posted September 19, 2018 Author Share Posted September 19, 2018 Took me a while to get this done, sorry. So, the result was a full report on screen of the cron job running, plus the daily email to me; no errors showing in either. Does that suggest that what I received a few days ago was a one-off and shouldn't give it another thought, unless it happens again? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Staff WHMCS Peter Posted September 20, 2018 WHMCS Staff Share Posted September 20, 2018 Hi @thisismatt, On 9/19/2018 at 3:04 PM, thisismatt said: Does that suggest that what I received a few days ago was a one-off and shouldn't give it another thought, unless it happens again? Indeed, this indicates that the issue is resolved for now. This issue can sometimes occur when your MySQL server has "Gone Away" before the transaction could be completed. This happens when a cron takes a lot longer to process for example. You could always check your MySQL servers `wait_time` and `interactive_timeout` values, just to make sure they are not too low. If you do run in to this issue again, do open a Support Ticket while it is occurring. We'll be able to take a closer look in to your environment and hopefully pinpoint the cause for you. 0 Quote Link to comment Share on other sites More sharing options...
wpmattuk Posted September 20, 2018 Author Share Posted September 20, 2018 Well that sounds entirely sensible then Peter, thank you 🙂 If it does happen again, I'll absolutely try what you've suggested above and raise the ticket. Thanks for your input and clarification. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted September 21, 2018 Share Posted September 21, 2018 Glad to hear that you got to the bottom of it @thisismatt! 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.