i have a problem with upgrading my (test ) site. I am stuck somewere at the end of the process (i think) at:
The error i receive is:
workshopform_accumulative
Copying assessment forms elements
Copying assessment form grades
More information about this error
Debug info: Column 'assessmentid' cannot be null
INSERT INTO mdl_workshop_grades (assessmentid,strategy,dimensionid,grade,peercomment,peercommentformat) VALUES(?,?,?,?,?,?)
[array (
0 => NULL,
1 => 'accumulative',
2 => '224',
3 => 2,
4 => 'ja',
5 => '1',
)]
Stack trace:
- line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
- line 816 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 858 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
- line 82 of /mod/workshop/form/accumulative/db/upgradelib.php: call to mysqli_native_moodle_database->insert_record()
- line 47 of /mod/workshop/form/accumulative/db/install.php: call to workshopform_accumulative_upgrade_legacy()
- line 305 of /lib/upgradelib.php: call to xmldb_workshopform_accumulative_install_recovery()
- line 1352 of /lib/upgradelib.php: call to upgrade_plugins()
- line 302 of /admin/index.php: call to upgrade_noncore()
I solved several problems during this upgrade (eg problems with database - Illegal mix of collations utf8_unicode_ci, and utf8_general_ci)
but now i am stuck.
Any idee?
thanks