Unable to access wp-admin

when I try to access /wp-admin with admin credentials, I get this error “Sorry, you are not allowed to access this page”

I have replaced wordpress core using ftp. I have also checked disabling plugins.

  • Adam Czajczyk
    • Support Gorilla

    Hello Santosh

    I hope you’re well today and thank you for turning to us with the issue!

    I understand that you have already tried deactivating all plugins and that didn’t help. Can you recall any changes to the site (updates, configuration changes, any custom code being added) right before you lost access? If yes, let me know about them.

    In order to regain access for you, I will also need a direct access to the site to be able to edit its files and database.

    Note: Don’t leave your login details in this ticket.

    Instead, you can send us your details using our contact form https://premium.wpmudev.org/contact/#i-have-a-different-question and the template below:

    Subject: “Attn: Adam Czajczyk

    – Site login URL

    – WordPress admin username

    – WordPress admin password

    – FTP credentials (host/username/password)

    – cPanel credentials (host/username/password)

    – Folder path to site in question

    – Link back to this thread for reference

    – Any other relevant urls/info

    Please note: the login and password that you are using and either cPanel or direct phpMyAdmin access (in addition to FTP) will be necessary to solve this.

    Once I receive an e-mail from you, I’ll check the site and I believe I’ll be able to help you with this.

    Best regards,

    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.