Forums

[resolved] Plugin WP-CRM: After saving w/o a role, You do not have sufficient permissions.. (3 posts)

  1. vanessajaded
    Member
    Posted 7 months ago #

    I just downloaded the plugin WP-CRM for WP-Invoice and as I was editing my own user profile, I forgot to select Administrator as my Role before I hit save/update. Now whenever I try to log in it gives me the 'You do not have sufficient permissions to access this page.' error message.

    Can someone please let me know how I can get back in and set my permission back to Administrator?!

  2. Andy Potanin
    Member
    Posted 7 months ago #

    Look at the instructions here by the third poster: http://wordpress.org/support/topic/probably-hacked-must-change-capabilities-in-phpmyadmin?replies=16

    Basically you need to find your profile's wp_capability entry in the usermeta table, it will most likely be in the meta_key 'wp_capabilities'

    Replace the meta_value with 'a:1:{s:13:"administrator";b:1;}' which is the default capability setting for an administrator.

    Or run this query on your DB (be sure to back things up first!) and replace '1' with whatever your user ID is.

    UPDATE wp_usermeta SET meta_value = 'a:1:{s:13:"administrator";s:1:"1";}' WHERE meta_key = 'wp_capabilities' AND user_id = '1'
  3. vanessajaded
    Member
    Posted 7 months ago #

    Fixed!

    Thanks, Andy!

Reply

You must log in to post.

About this Topic