If you’re having trouble with some of your WordPress user roles not working as intended, this guide is all that you will need to fix all issues. We will first look at some of the common issues related to WordPress user roles and then present a single solution in the form of a WordPress user role plugin and show you how to fix your user role problems using it.

So with that said, let’s get to the common reasons for WordPress user roles not working.

Why Are Your WordPress User Roles Not Working as Intended?

There could be many reasons your WordPress user roles aren’t working as intended. Let us mention some of the common ones below.

Developer Messing Up Some Code

If you have had a developer work on the backend of your WordPress site recently, chances are they may have made some changes to the code that led to issues with your user roles. Sometimes, some user roles may stop working altogether. Some of them may lose some of their capabilities, such as an editor user role not being able to add new posts.

Getting this fixed by another developer can be both expensive and complicated, but a good plugin can get the job done in no time.

Stuck With WordPress’ Default Capabilities

In some cases, there may be nothing wrong with your WordPress user roles, but they might just not have your desired capabilities by default. For example, some site owners may expect the author user role to also be able to edit the author’s own posts, but WordPress may not offer this capability by default in the author user role.

However, you would easily be able to add new capabilities to your WordPress user roles using a user role plugin.

Delete User Roles in WordPress

In some cases, you may just want to delete user roles on your WordPress site that are having issues or not working as intended. You can delete those user roles and add new user roles in WordPress with custom capabilities using a good WordPress user role plugin as well.

What Plugin to Use to Fix WordPress User Roles Not Working?

There are many plugins that let you manage user roles on your WordPress website. However, we recommend Profile Builder to fix all your issues related to your WordPress user roles not working.

Profile Builder is one of the most complete WordPress user management plugins out there, and it can do a lot more than just allow you to fix user roles on your site.

Here are some of its other important functionalities apart from managing and fixing WordPress user roles:

There are tons more functionalities. While you get the ability to manage user roles in the free version of Profile Builder itself, you will need to get a pro license to get all the advanced features we listed above.

Below, we’ll guide you on how to fix any user role issues with Profile Builder.

Profile Builder Pro

Get the most complete user management plugin to fix your user role issues and customize every aspect of user management on your WordPress site.

Get Profile Builder

How to Fix WordPress User Roles Not Working Using Profile Builder?

Different user role issues will require different fixes, but Profile Builder will help you with complete control and management of the entire user role system on your WordPress site.

Installing Profile Builder

But first, you will need to install and activate Profile Builder. If you’re going for the free version, go to your WordPress dashboard, click on Add New under the Plugins menu, type “Profile Builder” into the search bar, and then click on the Install Now and Activate button.

Installing Profile Builder

If you purchased Profile Builder Pro, you can download it from your account here on Cozmoslabs.

Download Profile Builder Pro from your Account page

Just download the Profile Builder Pro plugin file and upload it by clicking on the Upload Plugin button at the top of your Add Plugins page.

Upload Profile Builder Pro

Delete WordPress User Roles That Are Not Working

Some site owners have issues with some of the user roles on their site malfunctioning. It could be due to a variety of reasons, but a simple solution could just be to delete them and recreate them using Profile Builder.

To delete a user role, click on the Roles Editor option under the Users menu on your WordPress dashboard. This is a menu created by Profile Builder. If that option does not show up for you, you’ll have to enable it by going to Profile Builder → Settings. Look for the “Roles Editor” Activated section and set it to Yes from the dropdown.

Now, back in the Roles Editor section, you will find a list of all the user roles on your site. Click on the Delete link under the user role that isn’t working or causing problems.

Delete user role WordPress

Add New User Roles

As we mentioned above, you can recreate the user roles that weren’t working or the ones you deleted in the above step. Similarly, if you had any of your essential user roles deleted due to some error or mess-up in your website’s code related to user roles, you can add them back using Profile Builder.

Just click on the Add New Role button at the top of the Roles Editor page.

Add new user role in WordPress

Name your new user role using the top field. Then start selecting the capabilities you want to add to it using the capabilities dropdown menu.

Select the capabilities for new user role

Once you have selected all the capabilities you want for the user role, click on the Add Capability button. They will all show up in the blank space below the capabilities option. That is it.

You now just need to click on the Publish button on the right, and your user role – be it the one that got automatically deleted or the one that had stopped functioning – will come back alive.

Publish new user role

Now, this user role will also start showing up under your list of all the user roles on your site.

New user role created

If you still need help, you can refer to our detailed tutorial on adding new user roles in WordPress and WooCommerce.

Editing Capabilities of User Roles

In some cases of user role issues, your user roles won’t get deleted. But some of their capabilities may get lost or not work properly.

You can also use Profile Builder to fix this since it allows you to edit and manage capabilities for existing user roles without touching the code.

Just go to the same Role Editor page. Then click on the Edit link under the user role you want to edit the capabilities for.

Fix and manage user role capabilities

You will be able to delete existing capabilities or add new ones now. If you have any of your capabilities for your user roles not working properly or if any of the default capabilities have stopped working for any of your user roles, you can add them back here.

You can add them the same way you added new capabilities from scratch when adding the new user roles as explained above. Just delete the capabilities that aren’t working properly, and select them again from the capabilities field. You can also add any new ones you want.

Once that’s done, simply click on the Update button on the right just like we explained above. All the capabilities for your user role should start working normally again.

Again, if you want to understand any of these steps in more detail, we have an entire post dedicated to explaining how to add role capabilities to user roles.

Replace Your Faulty User Role Plugin

Maybe you haven’t had any developer mess anything up on the backend of your WordPress site or didn’t make any changes to the code yourself. In a lot of cases, it might just be the plugin you’re using for managing user roles that may be the culprit.

Some user roles aren’t updated for a long time. This can lead to a variety of problems, including your user roles not working properly, especially the ones you created using the plugin.

Similarly, a plugin that hasn’t been updated for a long time can also invite hacking attempts on your WordPress site. In addition, a plugin that isn’t updated frequently enough may also stop being compatible with your WordPress site, since WordPress as a platform keeps getting updated.

And the plugins need to be updated as well to keep up with the WordPress updates.

So if your plugin is not keeping pace with the updates, you can uninstall it and replace it with Profile Builder. This is because Profile Builder is updated very actively, with improvements and new features getting released fairly frequently as well.

We also make sure it never gets incompatible with any of the latest versions of WordPress. Profile Builder keeps getting updated to always be compatible with the most recent version of WordPress.

You can uninstall your existing user role plugin by clicking on the Installed Plugins option under the Plugins menu, finding your faulty user role plugin on the list, and then first clicking on the Deactivate link and later the Delete link.

Replace the faulty user role plugin

Then install and activate Profile Builder by following the steps we walked you through above.

Fix All the Issues Related to Your WordPress User Roles Not Working With Profile Builder

Profile Builder has been designed as a complete WordPress user management and user role solution, that is both flexible and easy to use. It can help you fix all your user role problems in just a matter of clicks.

Moreover, using the premium version, you get many advanced features that let you control, manage, and customize every area of user management on your WordPress website.

Profile Builder Pro

Quickly fix every user role issue and get all possible advanced functionalities with the ability to customize user management tasks in a few simple clicks.

Get Profile Builder

If you have any questions about any of the solutions we explained in this tutorial, feel free to let us know in the comments below.

Source: https://www.cozmoslabs.com/465257-wordpress-user-roles-not-working-heres-how-to-fix-this-problem/

You might also like this video

Leave a Reply