-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.6, 4.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-76996_401 -
In Manage question bank plugins:
- disable "Question statistics"
- enable "Question statistics"
- again disable "Question statistics"
- try to disable "Column sort order" ( got error )
- try to open question bank in course ( error )
Column sort order plugin sets value enabledcol ( mdl_config_plugins table ) when enabling "Question statistics", but when disabling "Question statistics" plugin it doesn't clean the value.
Errors:
Exception - Call to a member function get_column_name() on int
More information about this error
Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace: * line 347 of /question/classes/local/bank/view.php: Error thrown
- line 193 of /question/classes/local/bank/view.php: call to core_question\local\bank\view->wanted_columns()
- line 82 of /question/bank/columnsortorder/classes/column_manager.php: call to core_question\local\bank\view->__construct()
- line 93 of /question/bank/columnsortorder/classes/column_manager.php: call to qbank_columnsortorder\column_manager->get_questionbank()
- line 186 of /question/bank/columnsortorder/classes/column_manager.php: call to qbank_columnsortorder\column_manager->get_columns()
- line 57 of /admin/qbankplugins.php: call to qbank_columnsortorder\column_manager->disable_columns()
http://moodle.docker.localhost:8000/question/edit.php?courseid=30
Exception - Call to a member function get_column_name() on int
More information about this error
Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace: * line 347 of /question/classes/local/bank/view.php: Error thrown
- line 193 of /question/classes/local/bank/view.php: call to core_question\local\bank\view->wanted_columns()
- line 42 of /question/edit.php: call to core_question\local\bank\view->__construct()