WordPress and “You do not have sufficient permissions to access this page”

The past few months I kept getting the error, You do not have sufficient permissions to access this page, when trying to update my Word Press version automatically. I also couldn’t edit pages anymore. It took a while of searching different forums all over the web, most of the given solutions weren’t working for me at all. Today however I found time to search for another solution and I found it finally!

It seems that somehow during one of the upgrade processes the database got buggy. It stated I was logged in as an administrator but not all features were enabled though. After I Googled again I found this page. At first I didn’t think this had anything to do with my own problem. However I saw some people posting they couldn’t upgrade automatically anymore. Then I read the post of “lottasound”. He came with the following solution:

Open your wp database in phpmyadmin.
Under wp-options find wp_user_roles. Replace with:

“Find the full code here”

worked for me! 


And yes! It worked for me to! My Word Press installation is fully functional at this time. To bad it took a while for me to find this solution. By posting it here I hope other people will find it even faster in the near future.

Share your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.