"Can't find data record in database"
The full error stack on the server is as follows:
Default exception handler: Can't find data record in database. Debug: SELECT q.id, qc.id as category, q.parent, q.name, q.questiontext, q.questiontextformat,\n q.generalfeedback, q.generalfeedbackformat, q.defaultmark, q.penalty, q.qtype,\n q.length, q.stamp, q.timecreated, q.timemodified,\n q.createdby, q.modifiedby, qbe.idnumber,\n qc.contextid,\n qv.status,\n qv.id as versionid,\n qv.version,\n qv.questionbankentryid\n FROM {question} q\n JOIN {question_versions} qv ON qv.questionid = q.id\n JOIN {question_bank_entries} qbe ON qbe.id = qv.questionbankentryid\n JOIN {question_categories} qc ON qc.id = qbe.questioncategoryid\n WHERE q.id = :id\n[array (\n 'id' => '1088783',\n)]\nError code: invalidrecordunknown\n* line 1686 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown\n* line 694 of /question/engine/bank.php: call to moodle_database->get_record_sql()\n* line 600 of /cache/classes/loaders.php: call to question_finder->load_for_cache()\n* line 418 of /cache/classes/loaders.php: call to cache->get_implementation()\n* line 530 of /question/engine/bank.php: call to cache->get()\n* line 257 of /question/engine/bank.php: call to question_finder->load_question_data()\n* line 275 of /question/engine/bank.php: call to question_bank::load_question_data()\n* line 190 of /mod/quiz/locallib.php: call to question_bank::load_question()\n* line 2057 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()\n* line 110 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()\n, referer: https://our.flinders.vic.edu.au/mod/quiz/view.php?id=1911116
I'll also add a video of the issue.
What could be wrong?