I'm getting error when I try to update the application:
Debug info: Duplicate entry '1-1' for key 'mdl_quizsect_quifir_uix'
INSERT INTO mdl_quiz_sections
(quizid, firstslot, heading, shufflequestions)
SELECT id, 1, ?, shufflequestions
FROM mdl_quiz
[array (
0 => '',
)]
Error code: dmlwriteexception
Stack trace:
- line 446 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 974 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 873 of /mod/quiz/db/upgrade.php: call to mysqli_native_moodle_database->execute()
- line 706 of /lib/upgradelib.php: call to xmldb_quiz_upgrade()
- line 424 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1630 of /lib/upgradelib.php: call to upgrade_plugins()
- line 433 of /admin/index.php: call to upgrade_noncore()