[2024-04-08 15:04:00] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_brand' cannot be null in F:\xampp\htdocs\tfb_api\core\Model.php:161 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(161): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\FranchiseeEmployeeRoleModel.php(37): Model\FranchiseeEmployeeRoleModel->insert(Array) #2 F:\xampp\htdocs\tfb_api\controllers\FranchiseeEmployeeRole.php(74): Model\FranchiseeEmployeeRoleModel->newRole(Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(793): Controller\FranchiseeEmployeeRole->insert() #4 [internal function]: {closure}() #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(811): Bramus\Router\Router->run() #9 {main} [2024-04-08 15:04:18] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_brand' cannot be null in F:\xampp\htdocs\tfb_api\core\Model.php:161 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(161): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\FranchiseeEmployeeRoleModel.php(37): Model\FranchiseeEmployeeRoleModel->insert(Array) #2 F:\xampp\htdocs\tfb_api\controllers\FranchiseeEmployeeRole.php(74): Model\FranchiseeEmployeeRoleModel->newRole(Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(793): Controller\FranchiseeEmployeeRole->insert() #4 [internal function]: {closure}() #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(811): Bramus\Router\Router->run() #9 {main} [2024-04-08 15:04:31] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_brand' cannot be null in F:\xampp\htdocs\tfb_api\core\Model.php:161 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(161): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\FranchiseeEmployeeRoleModel.php(37): Model\FranchiseeEmployeeRoleModel->insert(Array) #2 F:\xampp\htdocs\tfb_api\controllers\FranchiseeEmployeeRole.php(74): Model\FranchiseeEmployeeRoleModel->newRole(Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(793): Controller\FranchiseeEmployeeRole->insert() #4 [internal function]: {closure}() #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(811): Bramus\Router\Router->run() #9 {main} [2024-04-08 15:04:52] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_brand' cannot be null in F:\xampp\htdocs\tfb_api\core\Model.php:161 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(161): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\FranchiseeEmployeeRoleModel.php(38): Model\FranchiseeEmployeeRoleModel->insert(Array) #2 F:\xampp\htdocs\tfb_api\controllers\FranchiseeEmployeeRole.php(74): Model\FranchiseeEmployeeRoleModel->newRole(Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(793): Controller\FranchiseeEmployeeRole->insert() #4 [internal function]: {closure}() #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(811): Bramus\Router\Router->run() #9 {main}