Can not create course forum

Can not create course forum

by HS Moodle -
Number of replies: 2

Hello,

We are facing this error while creating forum for a course.

Database transaction aborted automatically in C:\Inetpub\vhosts\www.net\edu.www.net\moodle/course/modedit.phpphp_error
2021-06-25 16:38:43Default exception handler: Coding error detected, it must be fixed by a programmer: The data source class does not exist. Debug:
Error code: codingerror
* line 506 of \cache\classes\definition.php: coding_exception thrown
* line 324 of \cache\classes\helper.php: call to cache_definition::load()
* line 2771 of \lib\grade\grade_category.php: call to cache_helper::purge_by_event()
* line 2723 of \lib\grade\grade_category.php: call to grade_category::clean_record_set()
* line 266 of \lib\grade\grade_object.php: call to grade_category->notify_changed()
* line 263 of \lib\grade\grade_category.php: call to grade_object->update()
* line 2135 of \lib\grade\grade_category.php: call to grade_category->update()
* line 1577 of \lib\grade\grade_category.php: call to grade_category->get_children()
* line 447 of \lib\grade\grade_category.php: call to grade_category->auto_update_weights()
* line 1180 of \lib\gradelib.php: call to grade_category->pre_regrade_final_grades()
* line 364 of \course\modlib.php: call to grade_regrade_final_grades()
* line 180 of \course\modlib.php: call to edit_module_post_actions()
* line 154 of \course\modedit.php: call to add_moduleinfo()

Average of ratings: -
In reply to HS Moodle

Re: Can not create course forum

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

What version of Moodle is this?

Try deleting the muc folder in Moodledata or move it to another location. This folder holds a cache of Moodle's settings but it can get into an invalid state (for example see MDL-63774).

In reply to Leon Stringer

Re: Can not create course forum

by Jose María Acedo -

Hi

I am migrating a moodle 2.6 to 3.11
I have spent updating the versions as indicated in some forums, and to go from version 3.0.1 to 3.1 I ran into this problem
I made the deletion of the MUC folder and perfect

Thank you very much Leon Stringer