WordPress or WooCommerce crashed

So your are currently staring at a blank screen / page of death and can’t understand what is going on with WordPress or WooCommerce? Well for starters you did not lose information or any settings. What happened is that WordPress is upset about something, something is causing WordPress to crash.

There is two ways in solving the issue depending where its currently crashing. Does it crash in the WordPress admin area or on the front-end?

 

If WordPress is crashing in the front-end

In the back-end head over to your plugins menu located at WordPress > plugins or https://www.YOURSITE/wp-admin/plugins.php ( past the link in your url and replace the YOURSITE with your domain name).

Note: If you notice it takes very long to load the plugin page it is already a sign that WordPress is suffocating on memory resources. I will get to this in a moment.

 

WooCommerce WordPress Plugin Area

1. When you are on the plugin page start to select all plugins except WooCommerce.

2. On the select menu ( located top left) select “Deactivate”.

3. Click Apply.

Depending on the speed of the server this should take a moment or a couple of minutes. If it takes longer than 5 minutes something else is wrong. I would suggest you select only a few plugins at a time and then disable only those few at a time until all the plugins in question are disabled.

If all the plugins are disabled open a new browser tab and refresh the website. If everything loads fine on the pages then you know you have a plugin causing the problems or it could be that WordPress does not have enough system resources to run all of your plugins at the same time.

There is an additional step I want you to perform as sometimes or most of the time it could be theme related also. Navigate to your theme folder located at WordPress > Appearances. Enable one of the default WordPress themes.: Twenty Thirteen OR Twenty Fourteen OR Twenty Fifteen.  By doing this and if your site loads fine we can start to narrow down on the problem.

If WordPress is crashing in the back-end

Usually this is just plugin or memory related (too few resources to carry WordPress and all the plugins). If you ever get to a scenario where you are unable to access the back-end and stare into an oblivion of white space please do the following before setting the memory limit.

You will require an FTP client and your FTP details to make the adjustment. I recommend FileZilla that works on all platforms.: Windows, Mac or Linux. You can download the FTP client here. After FileZilla is setup on your machine and you enter the FTP account details.

 

WooCommerce Wordpres Plugin Rename File

  1. Please connect to your server where your WordPress website is hosted.
  2. Brows to the following folder.: wp-content/plugins
  3. Inside your FTP client right click a plugin folder and select rename.
  4. Add something to remember at the back of the folder name for example.: /wp-content/plugins/groups renamed to /wp-content/plugins/groupsB for Backup. This will take the plugin out of the plugins array and WordPress memory. In other words it will disable the plugin since WordPress does not recognise the new name. You would need to have a internet browser open and refresh the page that you are trying to access.
  5. You would need to perform steps 3 -4 until you are able to access the back-end of WordPress. If you find the culprit plugin keep it renamed.
  6. Now try to rename all the other plugins back to their original names.
  7. Enable all the plugins one-by-one in the back end and refresh your browser each time to see if they work.
  8. For the plugin that caused the crash you would need to look for an updated version or a previous version and install the one you can find. If the updated version still cause the problems first see if it is the plugin by disabling all the other plugins and only keep WooCommerce and the plugin in question enabled. If it works fine you would need to contact the plugin developer as there will be something inside the plugin causing a conflict with another plugin. Usually its a incompatible jQuery library causing the issue.

How to Increase WordPress Memory aka RAM

You will require an FTP client and your FTP details to make the adjustment. I recommend FileZilla that works on all platforms.: Windows, Mac or Linux. You can download the FTP client here. After FileZilla is setup on your machine and you enter the FTP account details.

  1. Please connect to your server where your WordPress website is hosted. In the root folder of your website you will find a file called wp-config.php. You can download this file to your machine or right click in FileZilla and edit it. I suggest for novice users to rather download the file. You can edit the file in any text editor.
  2. After opening the file you can paste or the type the following code just after the part where it says @package WordPress, after the asterisk comment part. Please make sure that the syntax is 100% correct else WordPress might break (not physical, it will just not know what to do…).:
  3. Save the file before closing it.
  4. After you edit the required location you can upload the file again with your FTP client. It will probably ask if you want to overwrite the current file in which you can proceed in doing.
  5. After that you can confirm the update under WooCommerce > System Status > Memory.

Example.:

Depending on the amount of plugins installed on your system will depend on the RAM requirements. 128MB is a safe number to start off with, but for e-commerce solutions I recommend anything from 128MB to 512MB of RAM for starters as you always will find a plugin you want to add extra over time to your setup.

If you are on a shared hosting package you could try and set the limit for 128MB of RAM if your hosting company allows for it. Most of the times you would need to contact them and request that they increase the PHP memory limit for you before you can bring on these changes to WordPress itself. Some hosting providers set memory limitation on their shared hosting platforms.

 

Note.: I will try and keep this article updated and bring on some improvements over time, but this should get you going in solving your white screen of death WordPress or WooCommerce problem.