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.
Related Posts:
- Where are available Roles Defined in the wp_ database?
- Why are my roles not visible in a Multi-site/Network?
- Site admin in a network install can’t edit users?
- Troubleshooting a “You do not have sufficient permissions to access this page” error
- Issue with Custom Roles in Multisite
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- How can I display all Multisite blogs where this user is administrator?
- Add role across network in multisite
- Restrict users on multisite WordPress install
- Possible to make custom role in multisite that can add sites?
- Multisite database upgrade SSL error
- Prevent user creating new users with specific roles
- How do I fix problems with users not being able to publish and only submit for review after upgrade of Multisites installation?
- Timeout While Upgrading Network in Multi-site
- “Upgrade Network” error: stuck with SSL certificate verification
- WordPress Multisite Layered Admins
- How To Remove Dashboard Menu Items for Multisite Users?
- How to get a user role of a specific blog in multisite?
- Can wp-cli display all users and their roles across all sites in a multisite instance?
- Can simple Admin save options in a Multisite?
- Identical members roles on all sites in a multisite
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- create_users capabilities on a role on multisite
- Is there a way to run upgrade.php for one blog?
- Within the database, where is the flag which says that a user has Super Admin rights?
- Update User Role Across Network when Main Site User is Updated
- Assign role to user on first login, if they are first (after admin)
- Avoid having infinite loops
- Get the User ID Who Owns a Given Blog ID in Multisite
- Create custom role, multisite, add users/sites?
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- access the plugins for each role in WordPress multisite
- How to change user starting role in WordPress MultiSite?
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Multisite user roles – capabilities not working
- Create Custom Multisite User Role to Reduce Capabilities
- Restrict Capability of Administrator to Create, Edit and Delete Pages in Multisite
- HTTPS Warning and Certificate Error when Updating Network
- Admin permission for creating blogs in multisite
- Remove superadmin role from the “change role to” menu in user listing
- Copy user role on multisite so the user can access subsites with same role
- How to change a user role after registering in multisite?
- How to sync roles across Multisite?
- WordPress Multisite Add User
- WordPress multisite, allow non super admins to create sites
- WPMU If MU site has no administrator, deactivate site
- How does WP decide how to evaluate database integrity
- Give users acces to admin a single post or set up WP network?
- can’t create user without email for an author after converting single site to multisite
- Easily adding multiple existing users to a multisite site
- Language per user role, how can I achieve this?
- Admin users not able to see network menus
- let user select roles in the wordpress subsites
- Redirect a user roll to a page after login in mutlisite network
- Can I replace the “Upgrade Network” with SQL query?
- User Roles in multisite – odd behavior
- WordPress single sign on using cookies with shared user role functionality between more than 2 wordpress subdomains
- A different role for each site in a multisite
- Multi-site database upgrade claims success, but db_version not updated
- Multisite error when adding a user: already a member of this site
- How to create child/sub user under parent user
- How create a multisite setup with “phantom” accounts and passwords?
- Multisite vs Role Scoper
- Getting 404 after Update in Multisite
- Get users from all/specific blog by user_role and current_user role
- Is there any way to give all users access to one blog in a multisite network without using a plugin?
- How can I display all Multisite blogs where this user is administrator?
- How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite
- Multisite and users being listed on network administration dashboard and not main site dashboard
- multisite 404 error for subdirectory
- How to hide or remove unwanted widgets on Multisite installation?
- Redirect to a Plugin Settings Page After Multisite Site Creation?
- WordPress Multisite – Multiple subfolders for blogs
- Uploading/Deploying a Multi Site Install
- Trying to migrate a WordPress Multisite with Domain Mapping
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- How to run nested xargs commands?
- How to add edit users capability to a custom role?
- Efficiently manage a huge number of blogs given server-side restrictions
- Icon font not working on subdomains of multisite
- Search post in all blogs in WPMU?
- What is the function to get options of the parent site of a multisite network?
- Issue with htaccess redirection in WP Multisite
- WordPress MultiSite login to the respective site
- WordPress MU Domain Mapping Just Redirects to Main Site
- Multisite: cloning, but also updating too
- Using the standard WordPress “New User” interface on a multisite
- InfiiniteWP and WP Networks (multisite)
- Why doesn’t wpmu_new_user work from a plugin when it does from theme?
- Create WordPress Multisite Instance Programmatically
- Multi-Site / Single Site Decisions
- Multi-site site nav, wpdb->prepare missing argument
- query multisite blog for post by tag
- How to migrate post media from stand-alone to multisite build
- How to add WordPress site to multisite network when both are addon domains
- Get posts by user role in a Multisite
- How can I make my existing VIP theme to multisite
- how to make a cronjob run, when user needs to be logged in
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- Problem in viewing recent posts from network site to main site