I had this issue today, I was unable to login to my wordpress site. I first thought that “in some way” the password was changed (like that time that I ask “lastpass” to generate new passwords) but still with the new password I was unable to log in. I made the change in database directly, then used wp_set_password (‘password’, $ID) in wp-themes/theme/functions.php with no luck :-(. The problem was pretty… baffling, there was a plugin conflict that prevent me to log in to the admin area. I think login to the admin area should be one of those things that you should be able to do no matter if there is a plugin error, and those errors which should not be able to ‘crash’ the site in any way. So, if you have similar issue, not being able to login to the wp-admin area even if the password is correct try this:
- You’ll know that something is wrong with the plugin activation, in my case there was an “Are you sure?” question page, and after hitting “YES” the plugin was not activated, I had to repeat the steps 3-7 and avoid that last plugin (one before the one that raised the “Are you sure?” question.