Are you trying to log into your WordPress website, but see the “Could not save password reset key to database” error? If so, then you are locked out of your website, but don’t worry. I can show you a quick and easy way to fix it and get back to your WordPress website. This is just one of many common WordPress error messages you will see while on the platform.
Another name for this error is the WordPress login refresh error. Why is it important to know error names? Many error messages have multiple names, but all have can be fixed the same way so it is important to recognize these names. Today, I will demonstrate how to fix the WordPress password reset error.
Why Does This Error Message Occur
This error is caused by WordPress not being able to write new data in the database. This will generally happen when you have used all of the disk space provided to you from your web host. You can view how much disk space you have used up by visiting your cPanel and you should see all of your statistics on the right-hand side. It’s important to understand the limits of your account when you sign up with a web host.
Why does disk space prevent WordPress from being able to write data in a database? The database is also part of this disk space, so if you’re out of disk space there is no room to add or write anything to the database. One of the main reasons why you might be running out of disk space is that you have large images that are stored inside of your folders. It is very important to only upload and place those that you need. If you are not using an image, delete it.
How to Fix a WordPress Password Reset Error
Today, I will demonstrate how to fix the WordPress password reset error. Since the reason why this error happens is that there is no more disk space left to use on your account, the solution will just require you to delete unnecessary files, mostly large unused images. No additional plugins will be needed, but you will need access to your cPanel and should have a good understanding of what is currently in use on the website. Keep in mind if you really can’t figure out what to delete, you could talk to your web host and try to upgrade your account.
Let’s head over to the cPanel for your account. Click on the File Manager option to start searching through your files.
All of your WordPress content is stored in the wp-content folder. Once inside, click on the uploads folder. Inside the folder, all should be organized by year. I would recommend starting with the older years since it is likely there is some content there not being used.
Congratulations, you have successfully freed up space for WordPress to write in the database again. Keep in mind images are not the only culprits when it comes to space. If you chose to store your website’s backup on the same server, you are using a good chunk of space.
A backup on the same server is a really bad idea because if the server goes down you not only lost your website but also your backup, besides the fact that it wastes precious disk space. Whenever you are creating a backup you should store it on a separate server. Another item to look into is plugin caches. You need to take the time on some of your older plugins and clear out their caches.
Keep Your Website Error Free
Let’s face it, no one likes seeing error messages. Not you and certainly not your visitors, but unfortunately they will happen and it’s important that you can identify them and that you know how to deal with them. Error messages are very common and usually quickly solved. There are many forums dedicated to listing all of the error messages and their appropriate fixes.
If you are truly at a loss with fixing a particular error message, then you should consider using a backup to revert the error message. Backups are a great way to avoid extended downtime on your website, but only if you update your backup regularly. There are many plugins to create backups and plenty of third-party backup server storages available.
What was the reason you were out of disk space? Did you delete a lot of content that you did not need anymore or did you decide it was time to upgrade your account?
Author: Ron Helms
I currently work for GreenGeeks as a Support Technician. My primary roles are supporting our VPS and Dedicated server clients, as well as performing site migrations. With experience in the web hosting industry since 2009, there is rarely a question I can’t help answer. In my spare time, I enjoy gaming and working on cars as an automotive enthusiast.