Jump to content

_UsageUpdate - Corrupts WHMCS MySQL Handler ???


Fr3DBr

Recommended Posts

Hi, guys.

 

I'm not even touching MySQL in my code yet, but by just using Zend/XML-RPC extension (for some unknown reason), the MySQL Database handler is lost:

 

Warning: Error while sending STMT_PREPARE packet. PID=6322 in /home/xxx/public_html/vendor/illuminate/database/Illuminate/Database/Connection.php on line 278

Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (SQL: select `domain`, `username` from `tblhosting` inner join `tblproducts` on `tblproducts`.`id` = `tblhosting`.`packageid` where `server` = 2 and `type` = reselleraccount and `domainstatus` in (Active, Suspended)) (SQL: select `domain`, `username` from `tblhosting` inner join `tblproducts` on `tblproducts`.`id` = `tblhosting`.`packageid` where `server` = 2 and `type` = reselleraccount and `domainstatus` in (Active, Suspended))' in /home/xxx/public_html/includes/classes/WHMCS/Terminus.php:0
Stack trace:
#0 [internal function]: WHMCS\Terminus->whmcsExceptionHandler(Object(Illuminate\Database\QueryException))
#1 {main}
 thrown in /home/xxx/public_html/includes/classes/WHMCS/Terminus.php on line 0

 

Any ideas in how I could prevent this ? Or at least, force a "restore" of the default database handler ?

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