-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.7.1
-
None
-
MOODLE_27_STABLE
As Admin
Go to Bulk User Commands
Select users based on email domain
Select All to Bulk Delete
Error message appears (Have done this twice with different lots of users)
Debug info: SELECT id FROM
{user} WHERE id = ? AND deleted = ?[array (
0 => '53',
1 => 0,
)]
Error code: invaliduser
Stack trace:
line 1451 of \lib\dml\moodle_database.php: dml_missing_record_exception thrown
line 1427 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
line 6404 of \lib\accesslib.php: call to moodle_database->get_record()
line 2382 of \message\lib.php: call to context_user::instance()
line 2328 of \message\lib.php: call to message_mark_message_read()
line 4224 of \lib\moodlelib.php: call to message_move_userfrom_unread2read()
line 30 of \admin\user\user_bulk_delete.php: call to delete_user()
Debug info: SELECT id FROM {user}
WHERE id = ? AND deleted = ?
[array (
0 => '80',
1 => 0,
)]
Error code: invaliduser
Stack trace:
line 1451 of \lib\dml\moodle_database.php: dml_missing_record_exception thrown
line 1427 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
line 6404 of \lib\accesslib.php: call to moodle_database->get_record()
line 2382 of \message\lib.php: call to context_user::instance()
line 2328 of \message\lib.php: call to message_mark_message_read()
line 4224 of \lib\moodlelib.php: call to message_move_userfrom_unread2read()
line 30 of \admin\user\user_bulk_delete.php: call to delete_user()
- duplicates
-
MDL-45818 Bulk delete fails with "invalid user" error
-
- Closed
-