One of the most frustrating things for a website owner is a website lockdown. Sometimes the website owners may forget their login credentials which they use to access their site. If they can’t remember their password, then they can quickly retrieve it by clicking the Forgot Password link.
There are some situations when the user has been locked out from their website and fail to login to their site. In that case, they try to reset their password, but the moment they click on the link, they receive an error stating Could Not Save Password Reset Key to Database. Prior to this error, they may also witness a never-ending loading of the login process.
Most of the people face this error and don’t know how to fix it. If you are among those users who are facing the same issue, then below we mention the complete guide on how you can easily fix this error.
The reason why this error occurs is insufficient storage on your server. In order to fix this error, you need to make certain changes in the server files of your website. This first thing you need to do is connect with your FTP client and login using your login credentials.
After successfully logging in, you need to open your WordPress directory and head over to the wp-content folder. This is the place where all the uploaded content of your website resides. Now you need to open the Uploads folder and find the largest files in it.
Now you need to select all the large files on your server, right click on those files and press the Download button. Now that you have created a backup of those files, you can delete all the large files to free up some space.
You can now head back to your website login page and try to log in again. You can now easily log in to your site and identify which files are taking too much space. All the large files are majorly located in either the Uploads folder or the wp-content folder. Once you have identified the unnecessary big files, then you need to head back to your FTP client and delete those files from your server as well.
With this process, you can easily fix this login error and regain the access to your website. If you want to clean up even more space, then here are some of the places where unnecessary files could be located.
#1 Backup Plugins
Most of the backup plugins create a backup of your website on your server. The complete backup of your site could be a very large file that could eat up a lot of space. You can store all your backups on your local system from where you access your website the most. Doing this will help you in saving a lot of space, and your backup will be readily available to you.
However, there can be a situation where your local system is not working, and you can’t access your website back up. The best possible solution to that is saving your website backup in cloud storage. There are many different could solutions like Google Drive, Dropbox and Amazon Cloud Storage available in the market that provides best in class storage services.
#2 Cache Plugins
Cache plugins are widely used by many WordPress users to enhance the loading speed of their site. Many website owners configure their plugins is such a way that even they are unable to delete all the cached data. Though this cached data may enhance the speed of their site, there is no point in boosting the speed if you are not able to access your website. All these cached files consume a lot of space, so it is best to remove the plugins and then delete all the files.
#3 Hosting Service
The last possible option left would be lack of sufficient storage in your hosting. If you are using a shared hosting service, then there is a high probability that you may face storage issues. As the site grows, the size of the website grows with it. So it is best to upgrade all your resources to ensure smooth working of the website. When you are out of storage, you should know that it is now time to upgrade your hosting from shared to a virtual private server.
If you are still confused about your WordPress files and their cleaning, then below we mention few plugins that will help you in the process.
The Disk Usage Sunburst plugin will help you in knowing the size of each directory and file so that you can easily delete it via your FTP client. It displays the results in an attractive pie chart which they call the Sunburst Chart. This chart includes different arcs which signify each directory and folder.
The size of the arc will directly relate to the size of the file or the directory. All you need to do is activate the plugin and navigate to the Tools> Disk Usage page where you can easily determine the size of the file.
This plugin not only identifies the big files but automatically removes them to clean up some space. One great feature of this plugin is that you can schedule the cleaning and optimising process. The free version of this plugin can clean up pingbacks, spam comments, drafts, deleted posts, unused terms, delete tables, login logs, automatic plugin updates and much more.
This plugin also has a premium version which can manually clean data, block IP addresses, empty database tables, compatible with multiple sites, optimise database tables, and block countries.
The best thing you need can do to avoid this error is clean up your server and make sure that your server always has sufficient storage. In addition to that, you need to check the storage and upgrade it when necessary regularly.