I don´t really know what the problem is, but I am getting this error, when I want to delete users in admin/user/user_bulk_delete.php:
error/moodle/invalidrecord
Debug-Info: SELECT id,category FROM {course} WHERE id = ?
[array (
0 => '14879',
)]
Error code: invalidrecord
[array (
0 => '14879',
)]
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 7005 of /lib/accesslib.php: call to moodle_database->get_record()
- line 2207 of /lib/enrollib.php: call to context_course::instance()
- line 2762 of /lib/enrollib.php: call to enrol_plugin->unenrol_user()
- line 1122 of /lib/enrollib.php: call to enrol_plugin->user_delete()
- line 4258 of /lib/moodlelib.php: call to enrol_user_delete()
- line 31 of /admin/user/user_bulk_delete.php: call to delete_user()
any ideas?
version 3.9.12
any hints/tricks appreceated!!!
thanks,
Tom