Of Wordpress Upgrades and Plugin Compatibility – you do not have sufficient permissions to access this page
Well, the purpose of this post is not to whine and grind about the frequency of updates but to proclaim the Eureka that I stumbled upon.
Several search pages opened up with numerous solutions. One such post mentioned about the possibility of such errors when a database is imported; not my case. Another one talked about the database prefixes that are set to anything other than wp_; not my case yet again.
To make the long story short, I found a longish fix which worked for me. I followed the same route by googling and finding fixes for my other plugins.
In the exhausted state of mine, I did manage to light a spark and found a common denominator between all the fixes. Although all the recommended fixes were lengthy, there was just one keyword that connected each one of them.
I did some little testing and found out that the fix was far more simple than what was presented.
Here it goes
1. Most plugins these days don’t come as one file anymore, that makes things a little complicated. Identify all the .php files in your plugin.
2. Open each one of them (I would start with the obvious one like the name_of_the_plugin.php) and search for admin_head.
3. After you locate it, replace it with admin_menu.
4. Voila!!!!!! The error vanishes and your plugin’s settings page is back to work.
I am interested to know what it actually does, if anybody has even a slightest clue, bring me out of my misery.
Related posts:
- Troubleshooting the Wordpress Blank Page
- Migrating from Wordpress to Joomla
- Self Hosted Wordpress Blogs Under Attack
- Fighting Comment Spam without Akismet
- Top 10 Wordpress Plugins
Filed Under: Wordpress

[...] Read the simple procedure required to fix WP upgrade issues on Tech Pedia. [...]
Your “admin_head” fix worked for me. Looks like the old plugin was probably using an incorrect function call or have Wordpress deprecated some older functions?
That’s true Steve. Starting from Wordpress 2.8, some calling functions have changed and this is the only one I know that impacts plugins…
You are amazing!!!!
I searched high and low and none of the other ideas this worked instantly!!!
Thanks!!!
You are a life saver! This worked perfectly. I am so glad I found this post. I have been looking for over half an hour now for an answer. Seemingly such a simple answer and yet not one I ever would have discovered on my own. Thank you!
[...] For other folks, it was due to old plugin incompatibility. To fix it, you need to replace admin_head with admin_menu. [...]
You legend! This error has been annoying me for weeks and your fix has worked. cheers for posting this.
You. Effing. Rock.
Thanks for posting this. Fixed my problem instantly.
[...] Е, аз съм го сменял, но явно преди този ъпгрейд, защото нямаше записи със стария префикс. Порових се още малко и намерих това: Of Wordpress Upgrades and Plugin Compatibility – you do not have sufficient permissions to access … [...]