This WP User’s Capability Issues

In a post I wrote a couple of days ago I made a plea for help with a WordPress Multisite issue that was plaguing me. Within 24 hours it was solved, it’s like Reclaim Hosting—but in blog comments 🙂 The issue was after migrating bavatuesdays out from under a WordPress Multisite setup into its own blog, I no longer had the ability to add new plugins and themes through the dashboard. I could do everything else, and I was stumped. I tried adding a brand new admin user with a fresh wp_user and wp_usermeta tables, but to no avail. Turns out, the issue was that related to user capabilities defined in wp_options. Boone Gorges spelled it out the the comments: 

It could be that your ‘administrator’ role doesn’t have the ‘install_plugins’ capability. This happens sometimes during the migration from Multisite, since on Multisite administrators cannot install plugins. You can check by examining the wp_user_roles value in wp_options, or with a plugin like You can reset role caps with wp role reset administrator.

And the word on the street is that he looked like this while leaving that comment on his keyboard:

That was it, indeed, and Pat Lockley and Tom Woodward alluded to the very same thing (rich as kings on the bava!). Had no idea about wp_user_roles row in WP_options, and when I installed that plugin I was able to fix everything with a few clicks:

I just clicked and updated delete_plugins and install_plugins capabilities (as well as the install_themes and delete_themes for themes)  which fixed the values in wp_user_roles and I was back in business. Thank you Boone, Pat, and Tom for helping me out —you all rule. And now I can push forward with the rest of my blog downsizing. 

This entry was posted in WordPress and tagged , , . Bookmark the permalink.

6 Responses to This WP User’s Capability Issues

  1. Pat says:

    You’re welcome 🙂

  2. Boone says:

    Few have rocked as hard as I have.

    • Reverend says:

      Few, indeed!

      They say the heart of edtech is still beating
      And from what I’ve seen of Boone Gorges I believe ’em

  3. Tom says:

    In your programistan wanderings you may be interested in how that stuff gets written – the serialized data structure seemed odd to me at first but you do get to use functions like maybe_serialize().

  4. Pingback: Adding Super Admin Access for WPMS | bavatuesdays

  5. Pingback: WordPress Multisite Migrations and the Meaning of Web Life | bavatuesdays

Leave a Reply

Your email address will not be published. Required fields are marked *

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