Multisite network admin - User's role not showing up

admin2025-06-05  2

I upgrade my wordpress to 4.7.1 two days ago, then i am having trouble with my roles in the multisite admin. My issue is similar with this one, where the roles are not visible in my multi-site admin panel. Why are my roles not visible in a Multi-site/Network?

But the wp_##_options' table was alright in my database, so their solution does not work for me.

In my case, the roles are correct in .php. See below image.

But it does not show up in my multi-site admin interface. See below image. The URL for this interface on my site is :.php

In addition, the roles are not listed at the User information table either. See below image:

Am i missing something? Any hints? Thanks!

I upgrade my wordpress to 4.7.1 two days ago, then i am having trouble with my roles in the multisite admin. My issue is similar with this one, where the roles are not visible in my multi-site admin panel. Why are my roles not visible in a Multi-site/Network?

But the wp_##_options' table was alright in my database, so their solution does not work for me.

In my case, the roles are correct in https://www.exampleblog/wp-admin/user-new.php. See below image.

But it does not show up in my multi-site admin interface. See below image. The URL for this interface on my site is :https://www.exampleblog/wp-admin/network/site-users.php

In addition, the roles are not listed at the User information table either. See below image:

Am i missing something? Any hints? Thanks!

Share Improve this question edited Apr 13, 2017 at 12:37 CommunityBot 1 asked Jan 20, 2017 at 17:41 LisaLisa 1011 silver badge5 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

This worked for me:

Make sure the row in option-table in the database for wordpress-site have the correct option_name for the serialised roles-data.

For instance; if the database-table is wp_options, the column option_name in the role-row should be wp_user_roles. if the database-table is wp_20_options, the column option_name in the role-row should be wp_20_user_roles.

Don't ask me how long it took me to find out.

Hope it helps.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749112286a316464.html

最新回复(0)