Are you trying to login to your WordPress website, but it failed?
Do you try to reset the password, and you get the error 'Could not save Password Reset Key to Database'?
Generally, The WordPress Error "Could Not Save Password Reset Key To Database" occurs when we try to login into our WordPress site.
Basically, this error indicates that there is not enough free space left on your hosting account, and WordPress cannot write new login information into the database.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to resolve similar WordPress errors.
Once we encounter this error we know the page keeps refreshing and will not allow us to save the password reset key.
It effectively locks us out of our own WordPress site.
Though the front-end of our website works normally, we will fail to log in and work on our website.
The main cause of this error can be the lack of disk space on the WordPress hosting account. WordPress fails to save new data into the database if there is not enough disk space.
The database size is also part of the disk space allocated for the user account.
1. Get rid of unnecessary files in your Server
To begin, we can simply delete a few unnecessary files from our website.
i. To do so, we can connect to the website using an FTP client or File Manager in cPanel.
ii. In addition, from the /wp-content/uploads/ folder we can delete a few large image files to free space.
It is always good to keep a download of them as a backup.
iii. Then, we can visit the WordPress website and try to log in again.
iv. Once done, review the WordPress files and see if there are any unnecessary files taking up space.
Usually these files are in /wp-content/ or /wp-content/uploads/ folder.
It is possible that we have the cache plugins set up in a way that stops them from purging cached files.
Over time, they can eat up disk space allocated to our WordPress hosting account.
2. Check WordPress backup plugins for issues
Another common culprit can be WordPress backup plugins.
If we store WordPress backup files on the server, all stored backups take up unnecessary space on the hosting account.
In such cases, ensure to store them on a third-party cloud storage service like Google Drive or Dropbox.
However, make note that if we fail to clear any more space, it might be time to upgrade the plan.