PHP fatal error on editing settings for forum

PHP fatal error on editing settings for forum

by Michele Balazs -
Number of replies: 0

Forums can be setup and used. However, if you go into the forum settings after it has been set up, you get a coding error.

Log: [Sat Sep 21 19:49:45 2013] [error] [xxx] Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 1 passed to role_get_name() must be an instance of stdClass, null given, called in [dirroot]/lib/accesslib.php on line 4446 and defined\nError code: codingerror\n* line 406 of /lib/setuplib.php: coding_exception thrown\n* line 4280 of /lib/accesslib.php: call to default_error_handler()\n* line 4446 of /lib/accesslib.php: call to role_get_name()\n* line 4678 of /lib/accesslib.php: call to role_fix_names()\n* line 432 of /course/moodleform_mod.php: call to get_role_names_with_caps_in_context()\n* line 157 of /mod/forum/mod_form.php: call to moodleform_mod->standard_coursemodule_elements()\n* line 191 of /lib/formslib.php: call to mod_forum_mod_form->definition()\n* line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()\n* line 248 of /course/modedit.php: call to moodleform_mod->moodleform_mod()\n, referer: http://xxxx/course/view.php?id=9

Moodle 2.51 and Moodle 2.52

Any help would be gratefully received smile

Average of ratings: -