<>
You may have heard of the famous Windows blue screen, the error of death, as it is an error that frustrates all PC users. But, Have you heard of or encountered the white screen of death in WordPress?
Well, there is no need to freak out with the name.
Like the Windows error, the white screen of death, known as WSoD for its acronym in English, is an error that hace que tu sitio Web en WordPress aparezca como una página en blanco sin mensajes ni códigos de error.
Although it sounds scary, there are some easy ways to get rid of WSoD error or white screen of death.
In this guide, we are going to explain to you each of these methods to correct the error.
What is WSoD in WordPress?
The white screen of death is one of the most common mistakes WordPress users encounter.
This occurs mainly posteriormente de instalar un nuevo plugin o un tema which is incompatible with another plugin or with the main WordPress files.
Si ves una página en blanco en el browser cuando intentas visitar tu sitio web, sin errores ni otra información, most likely your site is giving a WSoD error.
What causes the WSoD error in WordPress?
The WSoD error in WordPress pueden ser causados por errores de PHP o errores de base de datos.
As an example, when you install an outdated plugin that hasn't been updated in a while, it can cause problems because the plugin code is not compatible with the code used by the latest versions of WordPress.
These types of incidents are common with themes that include outdated plugins but must be installed for the theme to work properly.
That is why, it is always better to buy themes that update normally. Check if the theme or plugin you are about to install is compatible with the latest versions of WordPress.
How to fix a WSoD error in WordPress
WSoD, or white screen of death, is a bug that can be easily corrected. No need to hire developers, you can actually fix everything yourself.
Just follow the following methods.
Note: The following methods involve making changes to the main files on your website. We recommend that you do a backup of your website before taking any of the steps below.
If you don't already have backups of your settings or don't have access to your website's back-end at this time, contact your web host and comprueba si tienen copias de seguridad recientes de tu sitio web en el server.
Method 1: disable plugins
Since PHP errors are generally caused by plugins and themes, you can start the troubleshooting process by deactivating all plugins first of your website in WordPress.
Check if you can log in to the Desktop as an administrator of your website. If you can, disable all plugins and see if this fixes the WSoD error.
If your site appears online after disabling the plugins, then you can enable plugins one by one to see which one causes the error.
If you don't have access to the WordPress Dashboard, puedes restablecer todos los plugins de tu sitio web en WordPress por medio de de FTP.
To do this, you must log into your server using an FTP application:
- Access the server using your login details from root, which has been provided to you when registering a plan hosting.
- Browse the files to locate the folder wp-content.
- Inside that folder, you will find a subfolder called plugins; this is where all your plugins are stored.
- Simply change the name of this folder on the other (for example: plugins-bad).
This will disable all plugins installed on your website and will reset your site to the default state.
Method 2: Change the theme
If disabling the plugins does not correct the error, it is most likely due to an issue. Try changing the subject.
The steps to change the theme are similar to those used to disable plugins:
- Log in to the Desktop as an administrator
- Go to Appearance >> Themes
- Activate a default WordPress theme.
If you don't have access to the WordPress Dashboard, log into the server via FTP and go to the folder wp-content.
In this folder, you will find a subfolder called themes and, inside this, a folder with the name of the theme you use.
Make a copy of the folder of that theme and then delete the original folder. This will revert your website theme to the default WordPress theme.
If the error is corrected then you should check the file functions.php from your faulty theme to see if there is any code that may be causing the WSoD error.
Method 3: Change memory limits
Sometimes WSoD errors at the same time can be caused for not having enough memory to run your website.
A modo de ejemplo, cuando tu sitio tiene demasiados plugins y recibe mucho traffic, the memory limits defined by default may not be sufficient to handle all instances of the website at once.
You can try increasing the memory limits of your website to see if it fixes the problem:
- Login to your server via FTP and open the file wp-config.php with a text editor.
- Add this code at the end of the file define ('WP_MEMORY_LIMIT', '64M');
- Press Keep.
At the same time, you can add this code php_value memory_limit 64M in your file .htaccess to see if it corrects the error.
Note: Remember to always back up your files before making any changes.
Do you still have problems?
If your WordPress site keeps giving a WSoD error even after following all these methods, then could be caused by a more serious error.
As an example, a WSoD error can occur when the server crashes during an automatic WordPress update, which is a basic feature provided by most managed hosting platforms.
Or maybe your site you have exceeded the number of databases allowed on the server and your web host has closed your website.
Or you can at the same time your server is going through a maintenance session.
In such cases, it should be noted contact the support team of your web server and request their help.
Conclusions
WSoD, or the white screen of death, it is just one of the many errors you will encounter when using WordPress normally.
Don't let these mistakes and problems scare you away. WordPress continues to be one of the most stable content management systems in the world, so it keeps getting better with each new update.
At the same time you can take some precautions to prevent these types of problems from occurring: how to switch to a better managed WordPress web host, install a Firewall or double check before installing third-party plugins.