WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a site running WP 3.3.2. The backend shows a bar saying "WordPress 3.5 is available! Please notify the site administrator."

Funny thing is that I'm logged in with an admin user, I double checked that. When trying to access the update page (at wp-admin/update-core.php) I get this error:

"You do not have sufficient permissions to access this page."

Any hints on what could be going on here? Thanks.

share|improve this question
Fresh install? Did you have any plugin that could have modified your admin's capabilities? – RRikesh Jan 6 '13 at 12:05
I disabled all plugins, but that did not help. I did not make a fresh install yet because I have lots of contents I would have to move to the new install. Will try that if there's no other solution. – Max Min Jan 6 '13 at 12:15
up vote 1 down vote accepted

Try to make a new admin user in the db.

Follow these steps you should be able to create a new admin user, then update and then you can give your old user admin rights again. Or use the new user.

Your old user might have wrong setting in the DB


share|improve this answer
Thanks, I tried that and I can add a new user. Unfortunately, the new user does not have update permissions either. Very strange. – Max Min Jan 6 '13 at 13:04
Hi, thats strange. Have you tried download WP 3.3.2 manually and then write over all files (via ftp) (not the wp-config file). then try to update to 3.5 – mscgl Jan 6 '13 at 13:14
Great tip, that worked – thanks! I manually overwrote my WP core files and then could update to 3.5. – Max Min Jan 6 '13 at 14:12
That was great news :) – mscgl Jan 6 '13 at 18:52

I had this problem once.

You should check your wp-config.php file and if you find this line


change its value to false:

share|improve this answer
Perfect - a collegue set this on a site we manage mistaking it for DISABLE_FILE_EDIT. Similar commands so I suppose it is an easy mistake to make. – John Reid Dec 1 '14 at 10:30
this worked, thanks – user990717 Apr 13 at 20:20

WordPress was telling me I didn't have 'sufficient permissions' to update my own install even when logged in as the Administrator.
I had the following line in my wp-config.php file:
I was able to apply updates once again after I changed this line to:

share|improve this answer

Add the following code to a file in your wordpress root and go to that page.

define('WP_USE_THEMES', false);

$role = get_role('administrator');

echo '<pre>';
echo '</pre>';

Now, look for [update_core] in the text displayed. It's value should be 1.

If not, add the following line after the $role = get_role('administrator') line to add the update_core capability to the administrator.

$role->add_cap( 'update_core' ); 

Reload the page to see if the value of [update_core] is 1. If it is 1, you can try to do the update. Don't forget to delete the file you've added afterwards.

Method 2:

Get on PHPMyadmin and go to the wp_users table. Look for your user ID. Now go to wp_usermeta and change the wp_capabilities of your user ID to a:1:{s:13:"administrator";b:1;}. Do a backup before touching the database, just in case.

share|improve this answer
Thanks, I tried this and got value "1" for [update_core]. But still, I can't update anything. – Max Min Jan 6 '13 at 14:11
Added another suggestion. – RRikesh Jan 6 '13 at 14:16

This is a shot in the dark, but do you by chance have any mu-plugins that could be causing this? wp-content/mu-plugins

share|improve this answer
Thanks for your answer, but no, I don't have any mu-plugins installed. – Max Min Jan 6 '13 at 12:50
Normally plugins dealing with roles & capabilities shouldn't be put in mu-plugins folder. Roles and caps are set either on plugin activation or theme activation since they are stored in the database. – RRikesh Jan 6 '13 at 13:41
Plus, trying to access role objects before plugins loaded will generate a fatal error – shea Jan 11 '13 at 2:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.