Hola tengo un moodle 3.4.1 e intente actualizar a 3.8 pero al actualziar me lanza este error, alguien tiene alguna idea de la causa?
Debug info: Duplicate entry '392-376' for key
'mdl_messuserbloc_useblo_uix'
INSERT INTO mdl_message_users_blocked (userid, blockeduserid, timecreated)
SELECT userid, contactid, null as timecreated
FROM mdl_message_contacts
WHERE blocked = ?
[array (
0 => 1,
)]
Error code: dmlwriteexception
Stack trace:
- line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 1141 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 2019 of /lib/db/upgrade.php: call to mysqli_native_moodle_database->execute()
- line 1817 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 518 of /admin/index.php: call to upgrade_core()