WSOD isn’t something we see a lot. When we do see it, it’s almost always related to caching – usually when there are 2 types of caching working on top of one another. Other causes for this error are rare on vCanopy, but we will cover all of them below.
NOTE: Our automatic WSOD resolution is currently being worked on and will be released ASAP.
We recommend you begin your troubleshooting by checking your cache.
First, check your cache
If you’re experiencing a WSOD, you can quickly check if this is caching related by adding a query string to your URL.
Example: verdanttcs.com/?123
This will BYPASS the cache, loading your website from scratch. If your website loads correctly without the cache, then you’ve identified the cause of the problem.
If you have a caching plugin installed (WP Rocket, Swift, Breeze, Super Cache, etc), then you may need to disable caching on vCanopy by toggling it off inside your website configuration modal. Next, run a full cache clear via the self help tools as pictured below:
Regular caching plugins are not compatible with vCanopy’s native server caching. You will need to choose between our caching and your plugin – we recommend our caching.
Check for a failed WordPress update
Check your website’s htdocs folder either via SSH or SFTP. Is there a .maintenance
file there? If yes, delete this and recheck your website. You may need to clear the cache as shown above.
If checking by SSH, you can navigate to your htdocs folder with the following command (replacing “site.url” with your domain name):
cd /var/www/site.url/htdocs
Check for the .maintenance
file with:
ls -l
If this file exists you can remove it with:
rm .maintenance
Turn on WP_DEBUG and Check your Nginx Error Log
Open up your website configuration modal and navigate through to the logs tab. Here you first want to check your Nginx Error log to see if you can quickly spot what’s going wrong.
If you can’t spot the error, turn on Debug for your website:
We have an article detailing WP_DEBUG here:
https://www.verdanttcs.com/kb/fixing-the-wordpress-white-screen-of-death-wsod/
TEST YOUR PLUGINS
If you spot an issue with a plugin you can deactivate it and then check the site again.
If you’re unable to login, try renaming your plugins folder. To do this, connect to your server via SFTP and rename it from “pluginname” to something like “pluginname-test”. Now retest your website. Has this solved the problem?
If no, change the folder’s name back.
Next, try renaming the entire plugins folder from “plugins” to “plugins-test”. Does this fix the issue?
If yes, then rinse and repeat with each of your individual plugin folders until you find the cause. You can change their name’s back once you’ve identified the problematic plugin.
TEST YOUR THEME
If plugins aren’t the cause, try changing themes. If you can’t access your site, simply rename your themes folder from “themename” to “themename-test”. WordPress should default to the latest standard theme. If you don’t that installed, you can upload it via SFTP.
Increase the WP_MEMORY_LIMIT
By default, vCanopy sets the memory limit on new installs at 256M. You may wish to try 512M to see if the fixes the issue for you. You can change this via GP-CLI.
SSH into your server and run the following command:
gp stack php -site-mem-limit {integer} {site.url}
Example:
gp stack php -site-mem-limit 512 vCanopy.com
Recheck your website. If this doesn’t you may want to reach out to support – let us know the website, server IP, and what you’ve done so far.