PHP catchable fatal error on update settings

PHP catchable fatal error on update settings

by Michele Balazs -
Number of replies: 0

Hi

Im using Moodle 2.52. At the meoment, we have the same issue with forums and databases. We can use them but we can't update their settings once setup. Any help would be gratefully received ?

 

Error_log shows

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 68 of /mod/data/mod_form.php: call to moodleform_mod->standard_coursemodule_elements()\n* line 191 of /lib/formslib.php: call to mod_data_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

Average of ratings: -