-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.5
-
None
-
MOODLE_22_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
When I select course reset and then Hotpots - Delete all attempts I get the following error
Reset course
Error reading from database
More information about this error
Debug info: Ambiguous column name 'id'.
SELECT id, id FROM mdl_hotpot WHERE course = ? ORDER BY id
[array (
0 => 773,
)]
Stack trace:
line 394 of \lib\dml\moodle_database.php: dml_read_exception thrown
line 255 of \lib\dml\mssql_native_moodle_database.php: call to moodle_database->query_end()
line 711 of \lib\dml\mssql_native_moodle_database.php: call to mssql_native_moodle_database->query_end()
line 740 of \lib\dml\mssql_native_moodle_database.php: call to mssql_native_moodle_database->get_recordset_sql()
line 1129 of \lib\dml\moodle_database.php: call to mssql_native_moodle_database->get_records_sql()
line 1078 of \lib\dml\moodle_database.php: call to moodle_database->get_records_select()
line 1527 of \mod\hotpot\lib.php: call to moodle_database->get_records()
line 4903 of \lib\moodlelib.php: call to hotpot_reset_userdata()
line 73 of \course\reset.php: call to reset_course_userdata()