• Every time I enter my credentials in the /wp-admin of my site I get the message “Sorry, you are not allowed to access this page.”

    I’ve tried everything I found in the forum:
    – Disabling plugins via DB
    – Renaming plugins folder
    – Renaming template folder
    – Adding additional admin via php.
    – Removing .htaccess
    – Making sure all the tables in my SQL database have the correct table prefix.
    – Making sure every line in the wp_usermeta and wp_options tables have the correct prefix.
    – I don’t have caps in my table prefix.
    – Checking that my user has wp_capabilities set to a:1:{s:13:”administrator”;b:1;} and wp_user_level to 10.

    I can only wonder if my wp_user_roles is set to a weird value but couldn’t manage to find a default value for that.

    Any other ideas? Please, I’m getting new orders and I can’t manage them.

    Thank you so much for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had the same problem when I updated to 4.8 but I cleared browser cache and closed browser and re-opened and it was fine.

    Hope that helps.

    Robin

    Thread Starter roitsco

    (@roitsco)

    I wish it was that easy. However, most of the times I tried it I was using incognito mode.

    Thanks for the answer though.

    • This reply was modified 7 years, 5 months ago by roitsco.
    epineiro

    (@epineiro)

    I had this issue and tried all the aforementioned solutions. What ended up working for me was reverting my database table prefixes back to “wp_”. I had it originally set to “wp_xyz_”, however, when I updated to 4.7.7, it did not carry over the changes to some of the table properties which was what caused this problem. I hope this helps someone.

    I am also got the same error as you and do not know how to solve it

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘(/wp-admin) Sorry, you are not allowed to access this page.’ is closed to new replies.