Jump to content

error file in admin folder


m107

Recommended Posts

 am using WHMCS stable the latest with PHP 7.3 . In my admin folder, there is an error log file which contains about 20 lines of this error:

 

[05-Dec-2020 07:19:24 UTC] [WHMCS Application] ERROR: TypeError: Argument 1 passed to WHMCS\Database\MysqlCompat::setLastStatement() must be an instance of PDOStatement or null, bool given, called in /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php on line 0 and defined in /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php:0 Stack trace: #0 /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php(0): WHMCS\Database\MysqlCompat->setLastStatement(false) #1 /home/XXXXXX/public_html/includes/dbfunctions.php(0): WHMCS\Database\MysqlCompat->mysqlQuery('SELECT tblhosti...', Object(PDO)) #2 /home/XXXXXX/public_html/includes/dbfunctions.php(0): full_query('SELECT tblhosti...', NULL) #3 /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Service.php(0): select_query('tblhosting', 'tblhosting.*,tb...', Array, '', '', '', 'tblproducts ON ...') #4 /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Service.php(0): WHMCS\Service->getServicesData() #5 /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Service.php(0): WHMCS\Service->setServiceID(60132, NULL) #6 /home/XXXXXX/public_html/dm/clientsservices.php(0): WHMCS\Service->__construct(60132) #7 {main} {"exception":"[object] (TypeError(code: 0): Argument 1 passed to WHMCS\\Database\\MysqlCompat::setLastStatement() must be an instance of PDOStatement or null, bool given, called in /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php on line 0 at /home/XXXXXX/public_html/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php:0)"} []

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