No access to wordpress despite correct ! login+pw

Hi, I changed my login name + pw in the DB + local site shell. However when I login to WP it keeps on saying my pw is incorrect. When I ask to send me a mail for changing there is no mail coming in even this is also correct in the systems (WP+DB). Appreciate any help here to continue.

Hi @localwp1

You can try creating or editing your admin password via Site Shell to see if that works:

Another thing you can do via site shell is disable plugins. It’s possible there is a security or user management plugin on your site that is preventing access. Something like this should work:

wp plugin deactivate --all

Regarding the password reset emails, these are contained locally. Local has its own mail feature called Mailpit:

Thanks Nick – I tried WP-CLI in the site shell but also this does not solve it. brgds Ruud

Did you try disabling all of your plugins as well?

Or just resetting your password?

Are you getting any errors in the site shell or the credentials just aren’t working?

Hi!
Same problem, it’s driving me nuts!!

It happens when I changed the url in settings from http into https and restart the site, not sure if this has something to do with it…rgds Ruud

As per below. rgds Ruud

That shouldn’t be related. Are you getting redirected or seeing any error screens at all after changing the URL?

Can you answer my other questions here?

Hi @Sissi24! So you’re unable to log in to your WordPress admin as well? Have you tried doing any password resets or disabling plugins via Site Shell yet?

Hi8
I think I got it: go to your dashboard on Local/ clik on “Tools”/ open Mailpit. You will find the write mail adress in the mail sent to change your password. The adress is something like " [dev-email@wpengine.local]

Correct! Things like password resets and form testing in the Local app are contained within Local’s own mail system. More on that here:

Just disabled all plugins but unfortunately no suc6. For some reason WP also do not send an mail to reset the password while it is in the systems!

Can you try creating a new admin user instead of just resetting your password? The command would look something like this with your own username, email and password.

wp user create username email@email.com --role=administrator --user_pass=p@s5w0RD

Got it thanks to Sissy’s remark about the Mailpit. It seems answers coming into there and not direct in my mailbox, so with that link in Mailpit I am able to change the password. So all good.
However strange that doing this via the database or WP-cli does not work!

1 Like

Definitely strange but glad you were able to get things sorted with Mailpit. Thank you for following up!