Opened 8 weeks ago
Closed 8 weeks ago
#63129 closed defect (bug) (duplicate)
Fatal Error when Bulk Changing User Roles to "No Role for This Site"
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.7.2 |
Component: | Users | Keywords: | needs-testing needs-patch |
Focuses: | administration | Cc: |
Description
When bulk changing all users, including the admin, to "No Role for This Site," a fatal error occurs due to a call to has_cap() on a null object.
Steps to Reproduce:
Go to Dashboard → Users.
Bulk select all users, including the admin.
Select "No Role for This Site" from the Change role to… dropdown.
Click Change.
Observe the fatal error:Fatal error: Call to a member function has_cap() on null in https://www.yoursite.com/wp-admin/users.php on line 148
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
This issue is already being tracked in #63068.