Are you seeing ‘Could not save password reset key to database’ error in WordPress? This error usually occurs when you are trying to login into your WordPress site. It effectively locks you out of your own WordPress site. In this article, we will show you how to fix the password reset key error in WordPress.
Why Does the “WordPress Could Not Save Password Reset Key” Error Occurs?
The first sign of this error is that you will be unable to login to your WordPress site. It will simply keep refreshing the login page.
Now if you try to reset the password, then you will see an error message ‘Could not save password reset key to database’.
If you are not seeing this error message, then your login failure may be caused by other issues. In that case, head over to our guide on how to fix WordPress login page refreshing and redirecting issue.
This particular error message indicates that WordPress is unable to write new information into WordPress database. This is caused when your WordPress hosting account has used all the disk space allocated to your account.
Your WordPress database size is also part of the disk space allocated for your user account. Since you have already used the space, you will be unable to add any more data.
Fixing WordPress Could Not Save Password Reset Key Error
To fix this error, you need to simply connect to your website using a FTP client or File Manager in cPanel.
Next, go to your /wp-content/uploads/ folder and delete a few large image files to free up some space. Make sure to download those files to your computer as a backup before deleting them.
After that, you can visit your WordPress website and try to login again.
Once logged in, you can review your WordPress files and see if there are any files that are unnecessary and taking too much space. Usually these files are stored in /wp-content/ or /wp-content/uploads/ folder.
Many WordPress users have their cache plugins setup in a way that stops them from purging cached files. Overtime these files can eat up disk space allocated to your WordPress hosting account.
Another common culprit could be your WordPress backup plugins. If you are storing WordPress backup files on your server, then all stored backups are taking up unnecessary space on your hosting account. You should always store your WordPress backup files on a third party cloud storage service like Google Drive or Dropbox.
If you can’t clear anymore space, then it might be time to upgrade to a VPS hosting or even a managed WordPress hosting account.
We hope this article helped you learn how to fix could not save password reset key to database error in WordPress. You may also want to see our list of the most common WordPress errors and how to fix them.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.