• Trying to login to my WP site I get this error:
    You do not have sufficient permissions to access this page
    I see there was discussion on year ago on this, The consensus was it’s an auto WP-version upgrade problem and suggested solutions were to tinker with the WP database.
    OK, 1 year on and several upgrades on…

    Can anyone advise on a currently effective (and simple???) solution?

    It may be from 3.9.1 to 3.9.2 upgrade?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your account may have lost admin privileges for some reason.

    Access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the wp_users table and find the row for your user_login . Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id . Set the value of this row to a:1:{s:13:"administrator";b:1;}

    Thread Starter Robert Hart-Fletcher

    (@robbuddy)

    Thanks James
    I’ll have a go.

    I also have this same problem and looked at this field in the database. It is exactly how you wrote this above for the wp_capabilities. Any other ideas? Thank you!

    Moderator James Huff

    (@macmanx)

    You’re welcome, Robert! Please let us know how it goes!

    kabrewer07, please open your own thread about that: https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform

    Thread Starter Robert Hart-Fletcher

    (@robbuddy)

    Hi James
    Perhaps I should have mentioned we’re running a multisite network.

    I checked in PHPMyAdmin and userID=1 already has the correct wp_capabilities = a:1:{s:13:”administrator”;b:1;}

    Problem persists!

    Thread Starter Robert Hart-Fletcher

    (@robbuddy)

    HI James
    I found a useful article here:
    Unable To Login. To WordPress

    “Disable plugins
    Some WordPress Plugins may interfere with the login process. Since you’re not able to login to WordPress admin, you’ll need to rename the plugins folder to something else temporarily. For example, you’ll rename the folder at /wp-content/plugins to /wp-content/pluginsYXY so that your plugins will not be recognized by WordPress.”

    IS IT A PLUGIN PROBLEM?
    I renamed the plugins folder to pluginsOFF
    I was then able to login to wp-admin
    1 renamed the plugins folder to plugins

    WHICH PLUGIN?
    In wp-admin I activated each plugin in turn.
    The one that caused the problem was WP Native Dashboard.
    I’ve removed it and now have full access again.

    Thanks for your help.
    Robert

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    In the future, if you’re still running multisite and you encounter a problem, please post to https://www.ads-software.com/support/forum/multisite#postform so those of us with less than useful multisite experience don’t offer advice which could be potentially dangerous to multisite. ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘You do not have sufficient permissions to access this page’ is closed to new replies.