• Resolved CharlieZee

    (@charliezee)


    I tried to set dashboard access to a specific capability (read_ai1_event) and it locked me out of admin access. I cannot get into the dashboard as the only admin now. Please help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Probably this is not an issue anymore for you. But as I just ran into the same issue and managed to solve it, I wan to share it for others that could look into this post.

    I just followed the steps in this other post., with few (and don’t really needed) additions:

    1. Login to file manager in cPanel. Or via FTP to your WordPress installation.
    2. Find the plugins directory (for example under public_html/wp-content/plugins).
    3. Rename the name of this plugin “remove-dashboard-access-for-non-admins” to any other name, let’s say to “remove-dashboard-access-for-non-admins-REMOVED”.
    4. Then close the browser and open it again and login to your WordPress site.

    This made me see the dashboard again!! The plugin appears as deactivated and it can be activated again and set in the dashboard. But to keep things clean I added more steps:

    5. Rename back the plugin folder to its original name, that is from “remove-dashboard-access-for-non-admins-REMOVED” to “remove-dashboard-access-for-non-admins”.
    6. Then the plugin gets deactivated again, you just need to login again to worpress, and activate it from the Dashboard. You can then set it as normally.

    I prefer to keep the folder with its original name to prevent future issues, as I already noticed that with the name changed some options (Activate, Delete) didn’t appear in the plugins list.

    But all the credits for Fitshase / p3000 who found this solution!

    Hey, did you finaly figure out what the issue was, I tried @ramley trick but didnt work for me. Login works but i just wont be redirected to the backend. even after installing this plugin

    Thread Starter CharlieZee

    (@charliezee)

    Sorry, Jack, I honestly can’t remember that long ago. I obviously fixed it via some Google search (ramley reply was too late for me). I’m not using this plugin anymore.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help! Locked out of admin access to dashboard.’ is closed to new replies.