[2024-08-18 13:08:26] PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')))' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:197 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(197): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\ClientInvoiceModel.php(76): Model\ClientInvoiceModel->query('SELECT CONCAT('...') #2 F:\xampp\htdocs\tfb_api\controllers\Invoice.php(91): Model\ClientInvoiceModel->insertFromKeyticektsForClient(Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(1304): Controller\Invoice->generateInvoiceFromTransactionsForB2BClient('2', '38') #4 [internal function]: {closure}('2', '38') #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(1467): Bramus\Router\Router->run() #9 {main}