[wp-trac] [WordPress Trac] #63068: Administrator Role Changed to "No Roles" Causes Internal Server Error

WordPress Trac noreply at wordpress.org
Sat Oct 11 07:50:55 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.9
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback has-test-     |     Focuses:
  info                                           |  administration
-------------------------------------------------+-------------------------

Comment (by rollybueno):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/8829/

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.2
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 140.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Gutenberg 21.7.0
   * Test Reports 1.2.0

 === Actual Results
 1.  ✅ Issue resolved with patch. It now using proper wp_die() instead of
 fatal errors.

 === Additional Notes
 - Delete all other users except admin.
 - Remove your role on Users -> All Users -> Role Dropdown on the filter ->
 "— No role for this site —" then click the Change button.
 [[Image(https://i.imgur.com/aAON7Tt.png)]]

 === Supplemental Artifacts
 Before: Check https://core.trac.wordpress.org/ticket/63068#comment:20
 After:  [[Image(https://i.imgur.com/NiRFp2A.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63068#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list