m107 Posted December 6, 2020 Share Posted December 6, 2020 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)"} [] 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.