[2024-12-18 00:12: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 = '406'' at line 1 in F:\xampp\htdocs\001_tfbuddy\api\core\Model.php:249 Stack trace: #0 F:\xampp\htdocs\001_tfbuddy\api\core\Model.php(249): PDOStatement->execute(Array) #1 F:\xampp\htdocs\001_tfbuddy\api\models\RecipeModel.php(378): Model\RecipeModel->update('406', Array) #2 F:\xampp\htdocs\001_tfbuddy\api\controllers\RecipeController.php(230): Model\RecipeModel->uploadPhoto(Array) #3 F:\xampp\htdocs\001_tfbuddy\api\v1\index.php(446): Controller\RecipeController->uploadPhoto('406') #4 [internal function]: {closure}('406') #5 F:\xampp\htdocs\001_tfbuddy\api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\001_tfbuddy\api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\001_tfbuddy\api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\001_tfbuddy\api\v1\index.php(1863): Bramus\Router\Router->run() #9 {main}, UPDATE product_recipe SET where id = :id