[2024-08-29 17:08:59] 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 'where id = '3'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:248 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(248): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\Invoice.php(316): Model\ClientInvoiceModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(1366): Controller\Invoice->patch('3') #3 [internal function]: {closure}('3') #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(1526): Bramus\Router\Router->run() #8 {main}, UPDATE client_invoice SET where id = :id