Aggiungo il debugging e che la versione di Moodle è la 3.1.2 Build 20160912
Debug info:
×Stack trace:
- line 477 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1400 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 1432 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
- line 94 of /question/type/multichoice/questiontype.php: call to mysqli_native_moodle_database->update_record()
- line 426 of /question/format.php: call to qtype_multichoice->save_question_options()
- line 119 of /question/import.php: call to qformat_default->importprocess()