After migrating from 3.11 to 4.0.1,
Trying to preview questions in quiz or question bank brings back this error message for all question types:
Can't find data record in database table context.
More information about this error
Debug info: SELECT * FROM {context} WHERE id = ?
[array (
0 => 1,
)]
Error code: invalidrecord×Dismiss this notification
Stack trace:
line 1646 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1622 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 5353 of /lib/accesslib.php: call to moodle_database->get_record()
line 136 of /comment/lib.php: call to context::instance_by_id()
line 96 of /question/bank/comment/lib.php: call to comment->__construct()
line 7989 of /lib/moodlelib.php: call to qbank_comment_preview_display()
line 265 of /question/bank/previewquestion/classes/helper.php: call to component_callback()
line 286 of /question/bank/previewquestion/preview.php: call to qbank_previewquestion\helper::get_preview_extra_elements()
I do not have access to the server, as I'm purchasing hosting. Any insight would be helpful that I can pass on to the company, or troubleshooting I can do from the site admin would be helpful!