[2024-02-08 09:02:50] 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:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\ProductController.php(172): Model\ProductModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(125): Controller\ProductController->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(180): Bramus\Router\Router->run() #8 {main} [2024-02-08 10:02:22] 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:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\ProductController.php(172): Model\ProductModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(125): Controller\ProductController->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(180): Bramus\Router\Router->run() #8 {main} [2024-02-08 10:02:35] 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:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\ProductController.php(172): Model\ProductModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(125): Controller\ProductController->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(180): Bramus\Router\Router->run() #8 {main} [2024-02-08 10:02:41] 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:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\ProductController.php(172): Model\ProductModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(125): Controller\ProductController->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(180): Bramus\Router\Router->run() #8 {main}, UPDATE product SET where id = :id [2024-02-08 10:02:08] 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:188 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(188): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\controllers\ProductController.php(175): Model\ProductModel->update('3', Array) #2 F:\xampp\htdocs\tfb_api\v1\index.php(125): Controller\ProductController->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(180): Bramus\Router\Router->run() #8 {main}, UPDATE product SET where id = :id