Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've encountered an issue on a site I'm looking after.

The 'admin' account no longer has access to the plugins page, if I try and manually type in the URL to the page, I get the following error:

"Page disabled by the administrator"

Any idea what could be causing that?

Thanks!

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I've actually just fixed it myself.

The problem was as follows:

I had changed the username of the admin account to 'new-admin'. What I had missed when making this change was to update the 'wp_sitemeta' table in the database. meta_id 8 (site_admins) still had the old admin name set. Once I updated this, the plugins menu reappeared!

share|improve this answer
add comment

Your Answer

 
discard

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.