danmarsden / moodle-mod_dialogue

Dialogue Module for Moodle
27 stars 35 forks source link

error during upgrade #88

Closed danmarsden closed 3 years ago

danmarsden commented 3 years ago

just noticed this during an upgrade - just logging it here to come back to later:

Can't find data record in database table context.

More information about this error

×Debug info: SELECT * FROM {context} WHERE id = ? [array ( 0 => '1673733', )] Error code: invalidrecord ×Stack trace: line 1599 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown line 1575 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select() line 5299 of /lib/accesslib.php: call to moodle_database->get_record() line 1384 of /lib/accesslib.php: call to context::instance_by_id() line 2336 of /lib/accesslib.php: call to assign_capability() line 847 of /lib/upgradelib.php: call to update_capabilities() line 565 of /lib/upgradelib.php: call to upgrade_plugins_modules() line 1917 of /lib/upgradelib.php: call to upgrade_plugins() line 713 of /admin/index.php: call to upgrade_noncore()

danmarsden commented 3 years ago

couldn't reproduce this - might have been some bad data in my local install.