Hello. I created a new role as a course creator, and in the settings section, I changed the default role for all users to this role so that any user who registered would automatically become a course creator.
But when a user wants to create a course in the first step, building a course in the course category section does not have access to the category, and this section is locked.
I have sent the image of this part. Please advise what I should do.
The following error message is displayed when the "save and display button" is pressed.
Error code: invalidrecord
- line 1562 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
- line 1538 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
- line 2427 of /course/lib.php: call to moodle_database->get_record()
- line 162 of /course/edit.php: call to create_course()