Hello, I am a moodle administrator for our school. I am not an IT person but a professor.
We are getting an error message all of the sudden for students who want to get in and take quizzes.
The following is the entire message we receive when attempting to take a quiz.
INSERT INTO s2t4v5nj5bquiz_attempts (quiz,userid,preview,layout,attempt,timestart,timefinish,timemodified,state,timecheckstate,uniqueid) VALUES(?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => '254',
1 => '336',
2 => 1,
3 => '1,0',
4 => 1,
5 => 1463150424,
6 => 0,
7 => 1463150424,
8 => 'inprogress',
9 => NULL,
10 => 3026,
)]
Error code: dmlwriteexception
- line 444 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1122 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 274 of /mod/quiz/locallib.php: call to mysqli_native_moodle_database->insert_record()
- line 183 of /mod/quiz/startattempt.php: call to quiz_attempt_save_started()
Thanks so much!
MC