How to fix a broken website when updating a plugin?
Are you someone looking for the answer to “How to fix a broken website when updating a plugin?” If that is the case then this article is for you. The answer to this question is related to experiences that many WordPress website builders have experienced in their lives.
We, too, have been the victims of broken website links, so we know that updating a plugin will break your website. Usually, when you update the plugin, the outcome is an up-to-date website that is less likely to get attacked by malware, viruses, or hackers.
But more often than not, the updates can also create havoc on the website. In other words, updating a plugin will break your website and take you to the “White Screen Death” page on your website.
Seeing all your hard work ending up with a white screen on your website can be a cause of stress, which is why we are here discussing how to cure this stress once and for all.
Before we tell you the secret through which the scare and upper hand of such an issue may have on your life will go away once and for all. We would like to give you a brief explanation of what the WSD (White Screen Death) actually means.
What exactly does White Screen Death look like?
“The WordPress’ White Screen Death occurs when, instead of the web page you’re trying to access, you’re faced with a blank white screen in its place.” This means that now you will have to fix the broken website because you ended up updating the plugin.
How do you know if you are facing the White Screen Death?
It usually depends on the browser a person is using. Many people who use Google Chrome will see a 500-error. The error code varies, to be honest, but the 500 error page will look like this:
If you are using Firefox, then the following white screen comes in front of the users.
Now, sometimes this white screen is created because of the memory limit or the errors found in the PHP code.
But, there are many incidents where this White Screen is the result of a faulty plugin or a faulty plugin update.
One other thing to notice:
The issue is that to get rid of this plugin update-induced error page, there are two ways to go. One is to go through the cPanel route, but in case you have no dashboard, then don’t worry. We also have a solution for that.
Following are the possible solutions through which you can fix the broken websites by updating a plugin and making it whole again.
Steps to follow:
when you have access to the Dashboard yet you want to fix a broken website when updating a plugin:
Firstly, Do Not Panic
Panicking will just make matters worse. So stay calm because this issue is not permanent. And you will get to the bottom of this with us alongside you. (you can comment below or contact us online if you feel the issue is not resolved or if there are other concerns).
Before breaking the website was the plugin updating done one at a time?
When you update the plugins one by one, then the chances are that you can quickly point out the plugin which caused this mess.
Then once you figure out the culprit, you can just deactivate that plugin.
After deactivating it, you need to refresh and check if the website is working. By working, it means that the website is not showing the White Screen Death page anymore.
So the website is fine when there is no white page (in case you are using the Firefox browser) or no 500 error (in case you are a user of the Google Chrome browser).
But what if you updated all of your plugins at the same time or simultaneously? Then what to do?
If you did not update the plugins one by one, then the chances are you are one of those people who like updating all of the plugins simultaneously. If this is the case, then there may be the following problem.
Which plugin should you deactivate when the website is broken?
Well, there is also a solution for this.
- All you need to do is, deactivate all of them.
- After deactivating them all, and then start activating them one by one.
- This step may be a little time-consuming, or not if you get to find the right plugin sooner rather than later.
- All you have to do is start activating the plugins one by one. And then, after each activation, check your website.
- Once you find the plugin causing all the problems, you can just delete it for good. You, then, have to contact the developer so they know the plugin is faulty.
- But this is not the end. Complete this step for every plugin that you have installed.
- This way, you will be able to test all the plugins and find which plugins should be deleted and replaced once and for all.
Just a bit time-consuming but pretty simple, right?
Now for the next scenario, we find the answer to the question. “How to fix a broken website when updating a plugin”.
Steps to follow:
When you don’t have access to the Dashboard, but want to know how to fix a broken website when updating a plugin:
Do not fear; stay calm
Again, you must keep your fear in check and calm down before completing these steps one by one.
Once you are calmer, you will understand the situation better instead of making the situation worse.
Access to the file manager
To get access to the file manager (in order to get into the file structure of the website), using either the FTP, which is preferable or the host file manager has to be done.
Finding the plugin folder
The plugin folder can be found by using the following:
All the plugins can be found in this folder,
Fixing the broken website by updating the plugins, one plugin at a time
The plugin folder stated above can be used to deactivate all plugins. Just delete the folder, and you are good to go, as all plugins will become deactivated.
Once the folder is deleted, don’t freak out. This is part of the process of fixing the broken website while updating the plugins.
You can get them anytime as these plugins are free and readily available from the depository. This is why we suggest that you do not take the road to hoard.
So after updating all the plugins one by one, test every one of these by checking the website after every update.
Next, find a new plugin, replacing the plugin that is harming the website.
From the broken plugins to the plugin folder
After deactivating all the plugins, rename the folder to broken plugins.
By doing this, WordPress will not be able to recognize the plugins and thus not use them in WordPress.
Then, start activating the plugins, one plugin at a time. As soon as one plugin is activated, move it to a new folder with the title “Plugins”.
After activating each plugin and moving it to the new folder, start testing the website. Once all plugins are activated, you will have only the faulty plugins in the old folder. Now you know which are the faulty plugins. So now you can replace the faulty plugins easily.
This was all about the plugins and their effect on the website. Now you must be aware of how to answer the question, “How to fix a broken website when updating a plugin”. If you complete all these steps and still the website is broken, the fault is not in the plugin. The cause of the broken website may be because of a theme.
So to resolve this issue, try switching back to the default WordPress theme, as WordPress is known for keeping itself updated.
If the issue remains, try re-doing the WordPress update, which may not have been updated completely when you tried.
This is all from our side on “How to fix a broken website when updating a plugin” let us know if you face any other difficulties. Or check our blog section to read about the latest WordPress issues and their solutions suggested by our WordPress experts.