My network is showing roles in some sites and not in others.
For some reason that I can’t explain, when I add a new user, I have no roles to choose from in the drop down box of a sub-site in my network. Also, my new user assigned to a site is not showing on my list of users for that site.
Is this something fixable?
Below an image of the current situation.
Below is the picture showing the main site with the roles properly there, but the sub-sites of the network don’t.
- Determine your Multisite Blog ID. I will use 99 as an example
- Go into the database
- Go to this table:
wp_##_options(wp_99_options) — you will have a table for each blog
- Find the record where
- Change the text
The table you are editing will have
autoload. However, DO NOT CHANGE ANY RECORD except the record where
wp_user_roles. There will only be a single record in this table like this.
wp_user_roles is used when there is no Multisite install, and here, it appears as though it was just a bug when the table was created.