[2024-04-21 15:04:29] PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id_course_template' 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\FranchiseeEmployeeRoleCourseConnection.php(34): Model\FranchiseeEmployeeRoleCourseConnection->insert(Array) #2 F:\xampp\htdocs\tfb_api\controllers\FranchiseeEmployeeRole.php(192): Model\FranchiseeEmployeeRoleCourseConnection->assignCourse('10', Array) #3 F:\xampp\htdocs\tfb_api\v1\index.php(804): Controller\FranchiseeEmployeeRole->assignCourse('10') #4 [internal function]: {closure}('10') #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(883): Bramus\Router\Router->run() #9 {main}