Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46896

Can not bulk delete users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.7.1
    • Administration
    • 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()

            Unassigned Unassigned
            jgcracknell James Cracknell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.