[2024-08-27 13:08:25] 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 = '256'' 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\ClientController.php(161): Model\ClientModel->update('256', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(1428): Controller\ClientController->patch('256') #3 [internal function]: {closure}('256') #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(1527): Bramus\Router\Router->run() #8 {main}, UPDATE client SET where id = :id [2024-08-27 13:08:42] 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 = '185'' 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\ClientController.php(161): Model\ClientModel->update('185', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(1428): Controller\ClientController->patch('185') #3 [internal function]: {closure}('185') #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(1527): Bramus\Router\Router->run() #8 {main}, UPDATE client SET where id = :id [2024-08-27 18:08:32] PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cl.is_client_b2b' in 'field list' 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\TransactionModel.php(215): Model\TransactionModel->query('SELECT trans.*,...', Array) #2 F:\xampp\htdocs\tfb_api\controllers\TransactionController.php(251): Model\TransactionModel->getTransactionsToInvoiceByClient('2', '4') #3 F:\xampp\htdocs\tfb_api\v1\index.php(1295): Controller\TransactionController->getTransactionsToInvoiceByClient('2', '4') #4 [internal function]: {closure}('2', '4') #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(1527): Bramus\Router\Router->run() #9 {main} [2024-08-27 18:08:48] PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cl.is_client_b2b' in 'field list' 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\TransactionModel.php(215): Model\TransactionModel->query('SELECT trans.*,...', Array) #2 F:\xampp\htdocs\tfb_api\controllers\TransactionController.php(251): Model\TransactionModel->getTransactionsToInvoiceByClient('2', '4') #3 F:\xampp\htdocs\tfb_api\v1\index.php(1296): Controller\TransactionController->getTransactionsToInvoiceByClient('2', '4') #4 [internal function]: {closure}('2', '4') #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(1524): Bramus\Router\Router->run() #9 {main} [2024-08-27 18:08:58] PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cl.is_client_b2b' in 'field list' 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\TransactionModel.php(215): Model\TransactionModel->query('SELECT trans.*,...', Array) #2 F:\xampp\htdocs\tfb_api\controllers\TransactionController.php(251): Model\TransactionModel->getTransactionsToInvoiceByClient('2', '4') #3 F:\xampp\htdocs\tfb_api\v1\index.php(1296): Controller\TransactionController->getTransactionsToInvoiceByClient('2', '4') #4 [internal function]: {closure}('2', '4') #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(1524): Bramus\Router\Router->run() #9 {main} [2024-08-27 18:08:56] PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cl.is_client_b2b' in 'field list' 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\TransactionModel.php(215): Model\TransactionModel->query('SELECT trans.*,...', Array) #2 F:\xampp\htdocs\tfb_api\controllers\TransactionController.php(251): Model\TransactionModel->getTransactionsToInvoiceByClient('2', '4') #3 F:\xampp\htdocs\tfb_api\v1\index.php(1296): Controller\TransactionController->getTransactionsToInvoiceByClient('2', '4') #4 [internal function]: {closure}('2', '4') #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(1524): Bramus\Router\Router->run() #9 {main}