Installed Membership and was doing fine but it overwrote my

Installed Membership and was doing fine but it overwrote my admin account with the Membership admin account - so I don't have access to the full dashboard anymore. I never actually hit "submit" to create a Membership test user so not sure why it would create an account without my OK. PLEASE HELP ME RESTORE MY ADMIN!

  • Vaughan
    • Support/SLS MockingJay

    Hi @matt,

    Do you have another Admin account you could use at all? you could then add the permissions back.

    Alternatively, you would need to edit the DB.

    In the wp_usermeta table

    Find the row for wp_capabilities meta_key relating to your user_id.

    Then edit the row and use the following.

    a:13:{s:13:"administrator";b:1;s:24:"membershipadmindashboard";b:1;s:22:"membershipadminmembers";b:1;s:21:"membershipadminlevels";b:1;s:28:"membershipadminsubscriptions";b:1;s:22:"membershipadmincoupons";b:1;s:24:"membershipadminpurchases";b:1;s:29:"membershipadmincommunications";b:1;s:21:"membershipadmingroups";b:1;s:20:"membershipadminpings";b:1;s:23:"membershipadmingateways";b:1;s:22:"membershipadminoptions";b:1;s:32:"membershipadminupdatepermissions";b:1;}

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.