If I understand correctly, you have two WordPress websites and suddenly you can no longer log into the backend on either of them. Since you can’t reset your password either, I suspect that both projects have been hacked. My recommendation: first read this article:
FAQ My site was hacked
After that I would recommend checking whether you still have a clean backup of both projects. If necessary, ask the support of your hoster. If so, delete all files and the database and restore the backup. Then change all access data in the hosting.
So if you still have a clean backup of your websites, use that to recreate them.
If you don’t have that, you can also hire someone to clean and secure it for you. However, this usually costs quite a bit of money. You can find offers for this online or you could ask here: https://jobs.wordpress.net/
Finally, you should secure your project. This is described in more detail in the article here: https://wordpress.org/documentation/article/hardening-wordpress/
No, I don’t believe I was hacked because I was logged into both sites just a little while ago today
Even if you don’t believe it, the technical facts speak for themselves. You can’t log in, and your email address doesn’t work when you use “password forget”. Both are signs of a hack, which I would strongly recommend you investigate.
Alternatively, you can of course try to restore your access directly via the database. The procedure is described here: https://wordpress.org/documentation/article/reset-your-password/#through-phpmyadmin – You would need to ask your host’s support team about accessing phpmyadmin. However, even if this gives you access again, it doesn’t explain why it suddenly stopped working. You probably have two hacked projects without knowing it, which is why I would strongly advise you to at least scan for malware (e.g., with WordFence or other security plugins).
Yes, my email address does work when I do the password reset. I received the email to reset the password and I changed it.
That sounded different above. But if you change the password, it doesn’t work? Then try the above method via phpmyadmin.
Sorry, when I say I went through the password reset procedure, I meant that that procedure was successful in that I received the “Your password has been reset” message.
I also ran the WordPress Integrity Check via cPanel, and it said:
“WordPress core files were successfully verified against their reference checksums from wordpress.org.” for both sites.
It doesn’t seem like a password issue, but I’ll try the phpmyadmin method anyways and see what happens.
I tried both the phpmyadmin method, as well as the FTP method and all I get is:
Error: Invalid username, email address or incorrect password.
This isn’t good.