Girl's Guide: Your Website Breaks After a Plugin Update
In today's post, I'm going to show you what to do if your website breaks after you have updated your plugins after you've had coffee and a few sweets you should have because you're so upset and freaking out.With teach WordPress update, you will notice several alerts that your plugins need to be updated. Perhaps you've updated them or perhaps you are waiting, holding your breath hoping you'll log in to your website and find they have updated themselves because you are petrified something may happen once you click that update button.
First of all, I know you backed up your website before you updated those plugins, right? But...what do you do if, after the updates, your website breaks?So what do you do when you update a plugin and you receive what is affectionately (I use that term very loosely) known as the "white screen of death" (yes it is just as it sounds, your screen is completely white) or your website has gone a little wonky and it doesn't quite look like it did before the update. What's a gal to do?
Now mind you, when I had my first experience with the white screen of death, I almost fell out my chair and passed out. It's a natural first reaction. Rest assured, all is not lost. So let out your, " oh my gosh!". Let out your one scream and let's get to work. If you are panicking, you can't think clearly.
Who is the culprit?
When you updated your plugins, did you update them all at once or one by one? If it was one by one, of course, that's easy-you know which one is causing the issue. If you did a bulk update, you don't know. You will need to deactivate all plugins and activate them one by one.
What if you can't log in after your website breaks as you have been?
You're going to have to put on your big girl panties and get to your site using FTP (File Transfer Protocol). The name sounds much scarier than it really is. If you aren't familiar with FTP, call your hosting company and ask them to assist you in finding your FTP login details or they will help you locate the file manager where all of your website files are located.You can also login to your hosting account if you have access and go to your file manager.
So what are you looking for?
You're looking for the plugins folder located at wp-content/folders. This folder, as it says, holds all the plugins you are using on your website.
If you know which plugin is wreaking havoc on your website, just delete that one particular plugin folder. You should then be able to log into your website as you have always done.
If you don't know which plugin is causing the issue, you're going to have to deactivate all of them. If this is the scenario in which you find yourself, do not delete all of the plugins; instead, rename the plugins folder to something else such as plugins-original (it doesn't really matter what you call it just make it easy on yourself.
Create another folder called plugins. In theory, you have 2 plugin folders, but WordPress is only going to recognize the empty folder called plugin.
You can move each plugin from the renamed plugin folder (plugins-original) to the plugin folder one by one.
After you add a plugin to the new plugin folder, check your website.
As you continue to do this with each plugin, when your site goes wonky again, you will know which one it is, delete it.
Add the remaining plugins to the plugins folder.
Make sure to delete the plugins-original folder once you have gone through each plugin.
If your site doesn't go wonky again after this approach, then you may have a theme issue. Deactivate your current theme and activate another one. Using the theme that comes with a fresh installation of WordPress is easiest.