[2025-01-15 13:01:43] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_storage' cannot be null in F:\xampp\htdocs\001_tfbuddy\api\core\Model.php:173 Stack trace: #0 F:\xampp\htdocs\001_tfbuddy\api\core\Model.php(173): PDOStatement->execute(Array) #1 F:\xampp\htdocs\001_tfbuddy\api\models\SubrecipeModel.php(271): Model\SubrecipeAttributesModel->insert(Array) #2 F:\xampp\htdocs\001_tfbuddy\api\controllers\SubrecipeController.php(150): Model\SubrecipeModel->update('374', Array) #3 F:\xampp\htdocs\001_tfbuddy\api\v1\index.php(518): Controller\SubrecipeController->patch('374') #4 [internal function]: {closure}('374') #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(1898): Bramus\Router\Router->run() #9 {main} [2025-01-15 13:01:44] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_storage' cannot be null in F:\xampp\htdocs\001_tfbuddy\api\core\Model.php:173 Stack trace: #0 F:\xampp\htdocs\001_tfbuddy\api\core\Model.php(173): PDOStatement->execute(Array) #1 F:\xampp\htdocs\001_tfbuddy\api\models\SubrecipeModel.php(271): Model\SubrecipeAttributesModel->insert(Array) #2 F:\xampp\htdocs\001_tfbuddy\api\controllers\SubrecipeController.php(150): Model\SubrecipeModel->update('374', Array) #3 F:\xampp\htdocs\001_tfbuddy\api\v1\index.php(518): Controller\SubrecipeController->patch('374') #4 [internal function]: {closure}('374') #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(1898): Bramus\Router\Router->run() #9 {main}