WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Access Manager
Deleted Super-Admin (3 posts)

  1. hsilva
    Member
    Posted 1 year ago #

    So I created a few users with "Administrator" roles and deleted my "admin" user (the one with super-admin role) on my WordPress site.

    Later I realized that only that specific user had access to some hidden stuff while editing pages, that the normal Administrator users dont have access to.

    Because "admin" (super admin) no longer exists, I cant access the AWM Group menus so I can't give another user the super-admin role.

    Using phpMyAdmin, I tried creating a new user named "admin" directly on the DB with ID=1 on the wp_users table (believing that would help) but when I logged in with this new "admin" user, I didnt even have access do wp-admin.

    I cant use a backup because some people have registered since this happened and made a lot of changes to the website!

    - How can I give the super-admin role to some other user using phpMyAdmin??
    - Does creating the user "admin" with id=1 even help? If so, what am I missing? What should I change in the DB besides the Id?

    Thank you very much!

    http://wordpress.org/extend/plugins/advanced-access-manager/

  2. Trev Wilcox
    Member
    Posted 1 year ago #

    Did you resolve this? I got a similar problem now

  3. etruel
    Member
    Posted 9 months ago #

    this works for me ;)
    http://wordpress.org/support/topic/administrator-has-lost-access-to-advanced-access-manager?replies=6#post-4067196

    The solution I used is to replace directly in the database the capabilities of my Super-Admin user.
    In the table "wp_usermeta", I found the "wp_capabilities" row associated to my Super-Admin user and I replaced the value by :

    a:2 {s:13:"administrator";s:1:"1";s:11:"super_admin";s:1:"1";}

    Hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic