Admin User Dashboard Error: “Sorry, you are not allowed to access this page.”
-
Hi,
I’m hoping you can help me restore access to my site. I noticed the problem too late & all backups I have include the same issue, unfortunately. When I log in with my admin password & attempt to access the dashboard, I’m presented with the error: “Sorry, you are not allowed to access this page.”I’ve attempted to resolve it myself, but with no success. Below are the steps I’ve already completed.
(with the help of this post https://kinsta.com/knowledgebase/sorry-you-are-not-allowed-to-access-this-page-error-in-wordpress/)After each step I logged in again & attempted to access wp-admin (dashboard)
1. attempted to restore the oldest backup available (Dec 21)
2. renamed the plugins folder to deactivate it
3. removed all themes except twenty twentyone (WordPress default)
4. accessed Admin user account via phpMyAdmin (loraleeh_wp110), reset permissions to a:1:{s:13:”administrator”;s:1:”1″;}
5. created a new Admin username
6. checked errors log. There are multiple errors that seem to be related to the subscription plugin (it needs to be updated). I’ve deactivated it, so presumably, the error will no longer exist
7. verified the table prefix is correct at $table_prefix = ‘wpd8_’;
8. reviewed wp-config and couldn’t see any obvious errors
9. upgraded to a newer version of PHP (it may need to be changed back to7.3)
10. checked to ensure file permissions are at 755 for wp-admin, content & includes, and 644 for other files
11. created new simple .htaccess file
12. completely deactivated .htaccess file
13. upgraded to the newest version of WordPress core (version 6.0)The link above is a staging version of the live site with most of the plugins deactivated for the time being.
I’m open to any solutions, including an alternate way of exporting pages & posts so that I can rebuild the site in a new database. Obviously, the traditional way of exporting pages/posts doesn’t work, since the dashboard won’t load. But, I’m hopeful there’s an alternate way through cpanel access.
Thanks in advance.
Cheers,
LoraleeThe page I need help with: [log in to see the link]
- The topic ‘Admin User Dashboard Error: “Sorry, you are not allowed to access this page.”’ is closed to new replies.