Support » Fixing WordPress » Wp-admin gives unknown username error

  • Resolved andreeafrincu

    (@andreeafrincu)


    Hi. I recently created a WordPress blog, so while I was setting it up I tried using a starter template from the Astra theme. I didn’t like it, so I installed the Advanced WordPress Reset by Younes JFR. My website was reset. Since then, whenever I try to log into wp-admin I get the error that my username is unknown, my email as well. I checked, there were no mistypes. Since I still had access to my wordpress.org profile, I tried changing my password, my email, my username, and nothing worked. I tried clearing my cache data as well.

    What should I do next? Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • abir43tee

    (@abir43tee)

    Hi,
    Hope you are well.
    I visited your website. It’s a fresh WordPress installation. So you can simply reinstall another fresh copy of WordPress. But If you think not to reinstall, you can simply check you username, email, password and also can change from your Cpanel then

    phpmyadmin

    -> your database name then wp_users table.

    Regards

    pec2021

    (@pec2021)

    I am having the exact same error since about 2 days ago. I noticed that when I create a fresh wordpress installation it looks like the email address is shortened (rendering retreiving password unusaable)

    My symptoms: I couldnt log into my existing site or retrieve my password – Username and Password doesn’t exist (the same I’ve been using for months).

    I do a fresh WordPress installation, am able to work on the fresh installation.
    I create 2 extra users since I was afraid I will be locked out again.

    I am able to log in with the extra users.

    When I close my browser or after an hour or so NONE of the usernames, email addresses or passwords work on the site.

    The usernames and passwords also can’t get a reset password link.

    I am thus locked out of the site.

    I downloaded an tested a Send email from wordpress plugin to test if WP can send emails and it could.

    When I try to change the credtenials from myPHP in the database the also does not work.

    I tried resetting with md5 password and multiple other attempts.

    Is this something on my side I don’t understand Why the credentials disappear? I read there was a Woo Commerce security breach on the 15th of July does this have something to di with that?

    pec2021

    (@pec2021)

    I think I found a solution, this looks like it solved it for me: (When I log in the very first time I get a cookie error so I found this and tried it, seems to work fine now)

    A permanent fix to cookies being blocked
    If neither solution works, try this more technical fix. You’ll need some technical/coding knowledge to add this code in.
    
    First of all, you’ll need to open your website’s function.php file. Then add the following code:
    setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
    if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);

    Soltion URL: https://www.parrotcreative.co.uk/cookies-blocked-or-not-supported-by-browser/

    Moderator Steve Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    For future reference:

    @pec2021, If you need support then per the forum guidelines please start your own topic.

    A lot more people will see your post, and that way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.

    Frequently Asked Questions

    Forum Guidelines

    You can do so here:

    https://wordpress.org/support/forum/how-to-and-troubleshooting/#new-post

    I’ll be archiving your post and mine to not spam the original poster and detract from their question.

    Thanks.

    Thread Starter andreeafrincu

    (@andreeafrincu)

    Hi and thank you everyone for your answers. I solved this issue by going to the cPanel and accessing a back up of my blog.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.