[wp-trac] [WordPress Trac] #65241: get_editable_roles() returns empty array in multisite

WordPress Trac noreply at wordpress.org
Thu May 14 14:52:17 UTC 2026


#65241: get_editable_roles() returns empty array in multisite
--------------------------+-----------------------------
 Reporter:  neo2k23       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have no clue where to look for this issue so i am posting the question
 here.

 My website moved from the old server to the new one.  Its a multisite.

 But get_editable_roles() now returns a empty array.  No roles.

 I tried latest trunk 7.1 reverted to 6.9.4 but now roles are returned.

 If i install a plugin like "user roles" the roles are also gone.

 Even the woocommerce shop roles are gone.

 How to fix this? Any idea's how to deal with this?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65241>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list