wp-admin “Sorry, you are not allowed to access this page.”
-
Hello everyone,
I’ve had a recent issue affecting a website of mine. I had the Unloq plugin installed and I had to reset my phone (unloq app needed to be reactivated)
The issue stemmed from how unloq taps into WP functionality for user management and basically after spending some time talking to the devs (who are really awesome btw!) It was understood that I had found a severe enough issue that they should be rolling out some update to this.
To cut to the chase, I deleted the users under the unloq plugin settings thinking that would revoke unloq authorization. In fact, that was deleting the users. More seriously, it allowed the deletion of the super admin account while logged in!
So after spending a whole couple of days trying to diagnose the issue and going through the db looking for weirdness (aside from an empty wp_users table and near empty wp_usermeta table), there’s still an issue viewing the admin side.
I’ve recreated a couple of super admins in my testing, with the proper IDs and everything. Still to no avail. When logged in, I see “Sorry, you are not allowed to access this page.” on the wp-admin/ and on the front page… I got the user bar with the logged in user… links on the right are for wordpress & wp forums.
I also tried repairing the db with wp-admin/maint/repair.php that didn’t seem to have done anything.
I tried comparing wp_users and wp_usermeta from other wp instances that didn’t shed much light aside from noticing that it varies a whole lot, depending on plugins and possibly other factors I’m not knowledgeable of.Any ideas would be greatly appreciated… I hadn’t done a db backup of this site since it’s not there for actual work, more like a controller of other sites, I guess I should’ve
- The topic ‘wp-admin “Sorry, you are not allowed to access this page.”’ is closed to new replies.