Tim, any help with this debugging?
Debug info: Field 'userid' doesn't have a default value
INSERT INTO mdl_quiz_group_attempts (attemptid,quizid,timemodified,groupingid,groupid) VALUES(?,?,?,?,?)
[array (
0 => '42642',
1 => '2809',
2 => 1630430556,
3 => 1630430556,
4 => '218',
)]
Error code: dmlwriteexception
Stack trace:
line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1331 of /lib/dml/my
sqli_native_moodle_database.php: call to moodle_database->query_end()
line 1377 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 162 of /mod/quiz/report/group/locallib.php: call to mysqli_native_moodle_database->insert_record()
line 200 of /mod/quiz/report/group/locallib.php: call to create_groupattempt_from_attempt()
line 137 of /mod/quiz/report/group/report.php: call to dispatch_grade()
line 97 of /mod/quiz/report.php: call to quiz_group_report->display()