[2024-02-12 12:02:14] 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 = '1'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\SupplierController.php(150): Model\SupplierModel->update('1', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(291): Controller\SupplierController->patch('1') #3 [internal function]: {closure}('1') #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(296): Bramus\Router\Router->run() #8 {main}, UPDATE material_supplier SET where id = :id [2024-02-12 18:02:01] 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 = '7'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(151): Model\MaterialModel->update('7', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(235): Controller\MaterialController->patch('7') #3 [internal function]: {closure}('7') #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(307): Bramus\Router\Router->run() #8 {main}, UPDATE material SET where id = :id [2024-02-12 18:02:16] 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 = '7'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(151): Model\MaterialModel->update('7', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(235): Controller\MaterialController->patch('7') #3 [internal function]: {closure}('7') #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(307): Bramus\Router\Router->run() #8 {main}, UPDATE material SET where id = :id [2024-02-12 18:02:18] 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 = '7'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(151): Model\MaterialModel->update('7', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(235): Controller\MaterialController->patch('7') #3 [internal function]: {closure}('7') #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(307): Bramus\Router\Router->run() #8 {main}, UPDATE material SET where id = :id