Hello, i try to upgrade moodle 1.9.3+ to 2.2.11 and the process is fail. First there were issues with some Extend modules that I removed but now the upgrade process show error:
UPDATE mdl_question SET parent = id WHERE qtype = 'random' AND parent <> id
- line 397 of \lib\dml\moodle_database.php: dml_write_exception thrown
- line 802 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 42 of \question\upgrade.php: call to mysqli_native_moodle_database->execute()
- line 204 of \lib\db\upgrade.php: call to question_fix_random_question_parents()
- line 1394 of \lib\upgradelib.php: call to xmldb_main_upgrade()
- line 236 of \admin\index.php: call to upgrade_core()
Any suggestion on this? I'm not very good at PHP and MySQL.
Thank you in advance!