Forums

[resolved] Accidently made myself subscriber, and don't have admin access (5 posts)

  1. xMrMatty
    Member
    Posted 5 months ago #

    I was testing some User Role Editort plugin, and i made a test account, which somehow made my admin account a subscriber and now i dont have access to admin on my site, what shal i do? Is there any way to make myself admin again via the Database or the FTP files? I really need to get admin back urgently, i don't have any other admins to re admin me either

  2. kmessinger
    Member
    Posted 5 months ago #

    It the test account the admin? Wp won't let you delete or change the admin unless you have another.

  3. xMrMatty
    Member
    Posted 5 months ago #

    No both accounts are subscriber, will there be any way to reset the user logins? So everyone has to register again?

  4. kmessinger
    Member
    Posted 5 months ago #

    Back up the data base.

    Check the db user meta table. Under the name you want as admin in the wp-capabilities section paste this,
    a:1:{s:13:”administrator”;b:1;}

  5. xMrMatty
    Member
    Posted 5 months ago #

    [REQUEST CLOSE]
    I have looked into my PHPMYADMIN database, and changed my wp_capabilities And managed to get myself in as admin again.

Reply

You must log in to post.

About this Topic