Recently I saw many facing this problem in WordPress. This is a common problem accruing when updating your WordPress to higher versions. Reason for this error is upgrade that didn’t fully complete. Due to few technical reasons upgrade may stop in the middle. So database number will be incremented, but WordPress think that it is up-to-date. But, it haven’t written the permissions that you need to access WP Admin area.
You do not have sufficient permissions to access this page
I Have Gathered a script which helps your WordPress to force the Upgrade.
Download the Script – Force Upgrade Script
Step by Step Instructions :
- Download the Script form Above link
- Extract the zip file, you will get
force-upgrade.phpin it. - Upload it to your Root Folder.
- Access the file form your browser. (http://example.com/force-upgrade.php)
- Then Delete
force-upgrade.phpform your server.
Another Possible and Simple problem is .htaccess file.
If your are receiving permissions errors, you should check whether you have .htaccess file in your main root folder.
