-
Bug
-
Resolution: Fixed
-
Minor
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
-
I'm seeing this error when trying to create an assignment when the feedback_plugin_for_gradebook setting is set to a feedback plugin that has been uninstalled:
Exception - Call to a member function is_visible() on null
|
|
More information about this error
|
Debug info:
|
Error code: generalexceptionmessage
|
Stack trace:
|
|
line 7958 of \mod\assign\locallib.php: Error thrown
|
line 881 of \mod\assign\locallib.php: call to assign->is_gradebook_feedback_enabled()
|
line 1067 of \mod\assign\locallib.php: call to assign->update_gradebook()
|
line 193 of \mod\assign\lib.php: call to assign->update_instance()
|
line 569 of \course\modlib.php: call to assign_update_instance()
|
line 273 of \course\modedit.php: call to update_moduleinfo()
|
To reproduce:
- In admin settings, set the setting "assign | feedback_plugin_for_gradebook" to "File feedback"
- Go to "Manage assignment feedback plugins" in the admin menu and uninstall this plugin
- Go to a course and add an assignment - you should see the above error when you click save