[wp-trac] [WordPress Trac] #63068: Administrator Role Changed to "No Roles" Causes Internal Server Error
WordPress Trac
noreply at wordpress.org
Tue Mar 11 12:06:07 UTC 2025
#63068: Administrator Role Changed to "No Roles" Causes Internal Server Error
-------------------------------------------------+-------------------------
Reporter: jomonthomaslobo1 | Owner: audrasjb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.8
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs- | Focuses:
testing | administration
-------------------------------------------------+-------------------------
Comment (by rishavdutta):
== Test Report
**Test Environment [Playground]**
- WordPress Version: 6.8beta1
- OS: macOS
- Browser Google Chrome
- WordPress Active Theme: Twenty Twenty-Five
- Active Plugin: None
- PHP version: 7.4.31-dev
- Database Client Version: 3.40.1
- Database Server Version: 5.5
**Test Results**
- **Actual Result**: Upon updating the role of the only admin account in
the site to "**No Role for This Site**", it leads to a screen similar to
white screen of death with an error message "**Sorry, you cannot remove
your own role.**".
- **Expected Result**: Upon updating, it should show an error message in
the dashboard itself instead of showing error on white screen.
Reference Screenshots:
https://drive.google.com/file/d/1NWh3DZ2YPwuEsT4HCKAARinUD7siY7YN/view?usp=drive_link
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63068#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list