[wp-trac] [WordPress Trac] #63440: 6.8.1 Multisite: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in wp-includes/class-wp-roles.php:291
WordPress Trac
noreply at wordpress.org
Thu May 15 10:20:46 UTC 2025
#63440: 6.8.1 Multisite: Uncaught TypeError: array_keys(): Argument #1 ($array)
must be of type array, string given in wp-includes/class-wp-roles.php:291
-------------------------------+----------------------------------------
Reporter: thejasonator | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Role/Capability | Version:
Severity: major | Resolution:
Keywords: reporter-feedback | Focuses: administration, multisite
-------------------------------+----------------------------------------
Comment (by SergeyBiryukov):
Could you also check the `wp_user_roles` option in the `wp_options` table?
This error could also appear if that value is somehow corrupted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63440#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list