Troubleshooting Guide: Why the Role Editor Menu is Missing in the Members Plugin
Content
One of the most common issues users encounter with the Members – Membership & User Role Editor Plugin is the sudden disappearance of the 'Roles' or 'Role Editor' menu. This can be a frustrating experience, especially when you're logged in as an Administrator and expect to have full access. This guide will walk you through the primary reasons this happens and the steps you can take to resolve it.
Why Does the Role Editor Menu Disappear?
Based on community reports and troubleshooting threads, the missing menu is almost never a direct bug in the plugin's code. Instead, it's typically caused by one of two scenarios:
- Incorrect Administrator Capabilities: The most frequent cause is that the necessary capabilities for managing roles have been inadvertently removed from the Administrator role. The Members plugin uses specific capabilities like
create_roles,edit_roles, andlist_rolesto control access to its menus. If these are missing, the menu will not appear. - Plugin or Theme Conflict: In some cases, another plugin or your theme might be interfering with the Members plugin, preventing its menus from loading correctly. This is less common but is always worth investigating.
How to Fix the Missing Role Editor Menu
Solution 1: Restore Administrator Capabilities (Most Common Fix)
This solution involves manually adding the required capabilities back to the Administrator role using a simple code snippet.
- Install and activate the free Code Snippets plugin from the WordPress repository. This provides a safe way to run code without editing your theme's functions.php file.
- In your WordPress dashboard, go to Snippets > Add New.
- Paste the following code into the code editor:
$role_object = get_role( 'administrator' ); $role_object->add_cap( 'create_roles' ); $role_object->add_cap( 'edit_roles' ); $role_object->add_cap( 'list_roles' ); $role_object->add_cap( 'delete_roles' ); - In the 'Code Snippets' settings on the same page, locate the 'Run snippet everywhere' option and change it to 'Run snippet once'.
- Click Save Changes and Activate. The snippet will run one time and then deactivate itself. You should now see the Roles menu reappear under the Members menu. You can then safely delete the snippet.
Solution 2: Perform a Conflict Test
If the first solution doesn't work, a plugin or theme conflict is likely.
- Temporarily deactivate all other plugins except for the Members plugin.
- Switch your theme to a default WordPress theme like Twenty Twenty-One.
- Check if the Roles menu is now visible. If it is, reactivate your plugins and theme one by one, checking after each activation, to identify the culprit.
Solution 3: Check the Role Manager Setting
It's also worth double-checking a simple setting within the plugin itself. Ensure the role manager hasn't been accidentally disabled.
- Go to Members > Settings.
- Under the 'General' tab, make sure the checkbox for 'Enable the Role Manager' is ticked.
- Save your settings.
Conclusion
The disappearance of the Role Editor menu is a well-documented issue with clear solutions. In the vast majority of cases, restoring the create_roles capability to the Administrator role via the Code Snippets method will immediately resolve the problem. If you continue to experience issues, a thorough conflict test is your best next step to identify any incompatible software on your site.
Related Support Threads Support
-
Members and DIVIhttps://wordpress.org/support/topic/members-and-divi/
-
Members Plugin and Boxzillahttps://wordpress.org/support/topic/members-plugin-and-boxzilla/
-
Edit Role shows nothinghttps://wordpress.org/support/topic/edit-role-shows-nothing/
-
Members with Tablesomehttps://wordpress.org/support/topic/members-with-tablesome/
-
Content Permissions Meta Not Displayinghttps://wordpress.org/support/topic/content-permissions-meta-not-displaying/
-
Integration with Avada theme role managerhttps://wordpress.org/support/topic/integration-with-avada-theme-role-manager/
-
Member Menu not showing in Settingshttps://wordpress.org/support/topic/member-menu-not-showing-in-settings/
-
Members and Ultimate Memberhttps://wordpress.org/support/topic/members-and-ultimate-member/
-
BBPress Roles Missinghttps://wordpress.org/support/topic/bbpress-roles-missing/
-
Cannot see roles and add new roleshttps://wordpress.org/support/topic/cannot-see-roles-and-add-new-roles/
-
Editor + LifterLMS Instructor rolehttps://wordpress.org/support/topic/editor-lifterlms-instructor-role/
-
Members Plugin blocks functions of the TagDiv Builderhttps://wordpress.org/support/topic/members-plugin-blocks-functions-of-the-tagdiv-builder/
-
Documentation about Members – Category and Tag Capshttps://wordpress.org/support/topic/documentation-about-members-category-and-tag-caps/
-
Role does not show up in Divi role editorhttps://wordpress.org/support/topic/role-does-not-show-up-in-divi-role-editor/
-
Members Plugin: Unable to edit bbPress Plugin Roleshttps://wordpress.org/support/topic/members-plugin-unable-to-edit-bbpress-plugin-roles/
-
Members button not visible on wordpress panelhttps://wordpress.org/support/topic/members-button-not-visible-on-wordpress-panel/
-
Keep Meta box collapsedhttps://wordpress.org/support/topic/keep-meta-box-collapsed/
-
Members disables the WP Privacy functionshttps://wordpress.org/support/topic/members-disables-the-wp-privacy-functions/
-
RankMath Pro issuehttps://wordpress.org/support/topic/rankmath-pro-issue/
-
— No role on the site — does not persisthttps://wordpress.org/support/topic/no-role-on-the-site-does-not-persist/
-
Black WP Nav Bar at the top, hiddenhttps://wordpress.org/support/topic/black-wp-nav-bar-at-the-top-hidden/
-
Backend navigation not visiblehttps://wordpress.org/support/topic/backend-navigation-not-visible/
-
Adding the metabox twice causes problemshttps://wordpress.org/support/topic/adding-the-metabox-twice-causes-problems/
-
Absence in menu Member of role managmenthttps://wordpress.org/support/topic/absence-in-menu-member-of-role-managment/
-
Can´t view only my articleshttps://wordpress.org/support/topic/cant-view-only-my-articles/
-
Role Editor is not showing uphttps://wordpress.org/support/topic/role-editor-is-not-showing-up/
-
Unable to edit Page Content Permissions – Missing Meta Boxhttps://wordpress.org/support/topic/unable-to-edit-page-content-permissions-missing-meta-box/
-
User rol permissions change after updatehttps://wordpress.org/support/topic/user-rol-permissions-change-after-update/
-
Two metabox after update 3.0.0https://wordpress.org/support/topic/two-metabox-after-update-3-0-0/
-
Authors – Unleash all commentshttps://wordpress.org/support/topic/authors-unleash-all-comments/
-
Backend not accessible, despite role-rights. Memberlists show no members.https://wordpress.org/support/topic/backend-not-accessible-despite-role-rights-memberlists-show-no-members/
-
Role Editor menu not showing in Members plugin (even as Administrator)https://wordpress.org/support/topic/role-editor-menu-not-showing-in-members-plugin-even-as-administrator/
-
Change permissions for roles (Members)https://wordpress.org/support/topic/change-permissions-for-roles-members/