[2024-07-20 01:07:29] 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 = '9'' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:242 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(242): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\TaskSetModel.php(89): Model\TaskSetModel->update('9', Array) #2 F:\xampp\htdocs\tfb_api\controllers\DailyShiftController.php(144): Model\TaskSetModel->updateWithConnection('9', Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(1189): Controller\DailyShiftController->patch('9') #4 [internal function]: {closure}('9') #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(1226): Bramus\Router\Router->run() #9 {main}, UPDATE todo_task_set SET where id = :id