Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Cómo corregir la pantalla blanca de la muerte de WordPress (paso a paso)

Nota editorial: Ganamos una comisión de los enlaces de socios en WPBeginner. Las comisiones no afectan a las opiniones o evaluaciones de nuestros editores. Más información sobre Proceso editorial.

La pantalla blanca de la muerte de WordPress es uno de los errores más comunes de WordPress. También es un error frustrante porque no hay ningún mensaje y te quedas fuera de WordPress.

Otro problema con el error de la pantalla blanca de la muerte es que a veces, solo afecta a una cierta parte de su sitio web. Por ejemplo, puede que solo veas la pantalla blanca de la muerte dentro del área de administrador de WordPress, mientras que todo lo demás funciona bien. En otros casos, puede que solo lo veas en una entrada específica.

En este artículo, le mostraremos cómo corregir la pantalla blanca de la muerte de WordPress viendo diferentes soluciones.

How to Fix the WordPress White Screen of Death (Step by Step)

Nota: Antes de realizar cualquier cambio en su sitio, asegúrese de tener una copia de seguridad de su sitio WordPress. Si no tiene acceso al área de administrador, consulte nuestra guía sobre cómo crear manualmente una copia de seguridad de la base de datos de WordPress.

¿Por qué aparece la pantalla blanca de la muerte en WordPress?

La mayoría de las veces, cuando ve una pantalla blanca de la muerte al intentar visitar su sitio web de WordPress, significa que una secuencia de comandos en su sitio web agotado el límite de memoria.

El script que no responde es eliminado por el servidor de alojamiento de WordPress o simplemente se agota el tiempo de espera. Por este motivo, no se genera ningún mensaje de error y sólo se ve una pantalla en blanco.

WordPress showing white screen instead of website

Sin embargo, a veces puede aparecer un mensaje de error.

Por ejemplo, es posible que aparezca un mensaje de error crítico en lugar de una página en blanco.

Critical error in WordPress

Tanto si aparece una pantalla en blanco como el mensaje “Se ha producido un error crítico en su sitio web”, se trata del mismo error.

Este error también puede deberse a un tema o plugin mal codificado instalado en su sitio. A veces, puede ocurrir si hay un problema con el servidor de alojamiento web.

Dado que el error de la pantalla blanca puede ser causado por cualquier número de cosas, se requiere diagnosticar metódicamente para corregirlo. Estos son los pasos que debe probar:

Tutorial en vídeo

Subscribe to WPBeginner

Si prefiere instrucciones escritas, siga leyendo.

1. Marque / compruebe si el problema se produce en sus otros sitios web

Si tiene otros sitios de WordPress instalados en la misma cuenta de alojamiento, empiece por marcar / comprobar si el problema se produce también en otros sitios.

Si es así, entonces eso es un fuerte indicador de que algo está mal con su servicio de alojamiento de WordPress. Podría tratarse de un problema / conflicto / incidencia temporal que afecta a su servicio, por lo que debes ponerte en contacto con su servicio de soporte para obtener más ayuda.

Por otro lado, si el problema solo se produce en un sitio web o en una parte específica de ese sitio, entonces sabrá que el problema está en ese sitio web en concreto.

2. Corregir el error de pantalla en blanco con el modo de recuperación de WordPress

Si el error de pantalla blanca de la muerte es causado por un plugin o tema de WordPress, entonces WordPress puede ser capaz de detectarlo.

La nueva característica de protección contra errores fatales introducida en WordPress 5.2 a veces puede detectar el error, por lo que es posible que ni siquiera vea una pantalla blanca. En su lugar, verás un mensaje que indica que el sitio está teniendo dificultades técnicas.

This Site Is Experiencing Technical Difficulties Error Message

WordPress también enviará un correo electrónico acerca del problema a su dirección de correo electrónico de administrador.

El asunto del correo electrónico será “Su sitio está experimentando un conflicto / incidencia técnica”.

Technical Difficulties Email With Link to Recovery Mode

Este mensaje de correo electrónico indicará el plugin o tema causante del error, y también contendrá un enlace especial.

Este enlace le permitirá acceder al modo de recuperación de WordPress y desactivar el plugin defectuoso.

WordPress recovery mode dashboard

Sin embargo, si usted está viendo la pantalla blanca de la muerte sin correo electrónico o la opción de modo de recuperación, entonces usted necesita para corregir manualmente el error.

3. Aumentar el límite de memoria

Normalmente, este error se produce porque un script ha agotado la memoria de su servidor web y se ha salido en medio.

Para corregir esto, necesita aumentar la memoria PHP disponible para WordPress. Esto permitirá que el script utilice más memoria para terminar el trabajo que se supone que debe hacer.

Deberá editar el archivo wp-config.php de su sitio de WordPress o utilizar un plugin de fragmentos de código como WPCode.

Puede seguir las instrucciones de nuestro tutorial sobre cómo aumentar la memoria PHP en WordPress.

4. Corregir el error de pantalla blanca desactivando todos los plugins.

Si aumentar el límite de memoria PHP no ayudó, o si tiene un límite de memoria alto, como 256M o 512M, entonces necesita comenzar a diagnosticar.

En nuestra experiencia diagnosticando esta incidencia, siempre hemos encontrado que el problema está relacionado con un plugin específico o con un tema. Vamos a desactivar todos los plugins.

Si todavía puede acceder al escritorio de administrador de WordPress, puede ir a la página Plugins ” Plugins instalados. Seleccione todos los plugins instalados y, a continuación, seleccione “Desactivar” en el menú desplegable “Acciones por lotes / en lotes”.

Deactivate all WordPress plugins

Sin embargo, si no tiene acceso al área de administrador de WordPress, tendrá que desactivar todos los plugins mediante FTP.

En primer lugar, conéctese a su sitio de WordPress utilizando un cliente FTP o el gestor de archivos de su proveedor de alojamiento. Una vez conectado, vaya a la carpeta wp-content, donde verá la carpeta plugins.

Ahora, tienes que hacer clic con el botón derecho del ratón en la carpeta plugins y luego seleccionar ‘Renombrar’. Puede cambiar el nombre de la carpeta de plugins a ‘plugins-deactivated’.

Using FTP to Rename the Plugins Folder

WordPress busca una carpeta llamada plugins para cargar todos los plugins. Cuando no encuentra la carpeta, simplemente desactiva todos los plugins.

Si esto corrige el problema, active un plugin cada vez para llegar al fondo de la cuestión. Una vez que encuentres el plugin que causa el problema, puedes sustituirlo por uno alternativo o informar de la incidencia a los autores de los plugins.

5. Activar el tema por defecto

Si la solución de problemas de plugins no corrige el problema, entonces usted debe tratar de reemplazar su tema activo con un tema por defecto.

En primer lugar, conéctese a su sitio web mediante un cliente FTP y vaya a la carpeta /wp-content/themes/. Contiene todos los temas instalados en su sitio web.

Haga clic con el botón derecho para seleccionar su tema actual de WordPress y descárguelo a su ordenador como copia de seguridad.

Using FTP to Download the Current Theme as a Backup

A continuación, debe borrar el tema actual de su sitio web.

Simplemente haz clic con el botón derecho del ratón en la carpeta del tema y selecciona “Borrar”. Tu cliente FTP borrará el tema de tu sitio web.

Using FTP to Delete the Current Theme

Ahora, si tienes un tema por defecto de WordPress como (Twenty Twenty-Two o Twenty Twenty-Three) instalado en tu sitio web, entonces WordPress automáticamente empezará a usarlo como tema por defecto.

Sin embargo, si no tiene instalado un tema por defecto, deberá instalarlo manualmente mediante FTP.

Si esto corrige el problema, entonces usted debe buscar en el archivo functions. php de su tema. Si hay espacios adicionales en la parte inferior del archivo, entonces usted necesita para quitar esos, ya veces que corrige el problema.

Si está utilizando una función mal codificada en el archivo functions. php de su tema, también puede causar el error de pantalla blanca de la muerte.

Considere la posibilidad de descargar una copia nueva del tema desde su fuente e instalarla manualmente mediante FTP.

6. Activar el modo depuración para detectar errores en WordPress

Si nada ha ayudado hasta ahora, el siguiente paso es activar la depuración en WordPress. Esto mantendrá los registros de errores que le permiten ver qué tipo de errores se están emitiendo.

Simplemente añada el siguiente código a su archivowp-config.php:

define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );

Una vez añadido esto, la pantalla en blanco tendrá ahora errores, advertencias y avisos. Estos pueden ser capaces de ayudarle a determinar la causa raíz.

Si no ve ningún error, puede que quiera comprobar el registro de depuración.

Simplemente visite la carpeta wp-content en su sitio web utilizando un cliente FTP. Allí encontrará un nuevo archivo debug.log que contiene un registro de todos los errores, avisos y advertencias.

Debug log

7. Vaciar la caché de WordPress

A veces, usted puede tener acceso a la administración / escritorio, pero la parte frontal del sitio tiene la pantalla blanca de la muerte.

Esto puede ocurrir debido a un plugin de caché. En ese caso, solo tienes que vaciar la caché de WordPress.

Puede consultar nuestra guía sobre cómo vaciar la caché en WordPress para obtener instrucciones detalladas.

8. Corregir el error de pantalla blanca en los artículos más largos.

Si solo tienes una pantalla blanca de la muerte en una entrada o página muy larga, entonces este método podría funcionar.

Este truco básicamente incrementa la capacidad de procesamiento de texto de PHP aumentando el límite de recursión y retroceso. Puedes pegar el siguiente código en tu archivo wp-config.php:

/** Trick for long posts */
ini_set('pcre.recursion_limit',20000000);
ini_set('pcre.backtrack_limit',10000000);

Entendemos que se trata de un error muy frustrante, y esperamos que alguno de los trucos anteriores te haya corregido el problema.

También puedes consultar nuestra guía para diagnosticar problemas de WordPress, que te enseña los pasos que debes seguir para detectar y solucionar problemas de WordPress por ti mismo, o nuestra selección experta de los mejores proveedores de alojamiento gestionado para WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso editorial .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

296 comentariosDeja una respuesta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Robert Thompson says

    My entire WordPress site is a black screen. I only have three pages on my website and they all are black. But when I go to my editor everything is fine. I’m going to try your advice and deactivate all of my plugins. Hopefully this will work.

    • WPBeginner Support says

      We hope that solves the issue for you, if you continue to have trouble you can always feel free to reach out to our support!

      Administrador

  3. mohadese esmaeeli says

    I have encountered this page several times, and in most cases, my issue was resolved by changing the PHP version of the hosting. However, sometimes the presence of an incompatible plugin can disrupt everything and result in this frustrating white screen!

  4. Jiří Vaněk says

    Very often, the issue with a white screen is a compromised website. Many people have their WordPress sites infected, leading to precisely this error. That’s why it’s crucial to have a backup. Additionally, many people suffer from downloading plugins from unverified sources to save money. In the end, it costs more than a paid plugin. Unfortunately, it’s true. Sad, but true.

    • WPBeginner Support says

      While it could be a compromised site, there are many possible reasons so only having a white screen of death does not automatically mean that a site was hacked.

      Administrador

  5. Ralph says

    Does this method helps with my situation?
    Sometimes I update few plugins one by one on 1 side of the screen and do something else on second half. It happens i refresh wordpress admin panel during updating plugin and it gives me this white page where I can’t do anything. My hosting makes backups every 6 hours so i just email them to use the freshest one but I want to move to the cheaper one and will not have this option.

    • WPBeginner Support says

      It should be helpful when you run into the white screen, from the sound of it you would want to reach out to your hosting provider to see if you are hitting a resource or memory limit in their system.

      Administrador

  6. CJB says

    The memory limit increase fixed it for me. (This issue rarely happens in WordPress, but the client’s hosting company is a smaller brand that may have contributed to the error.)

    • WPBeginner Support says

      You may be seeing the cached page when logged out. If you do see the white screen of death, we would recommend going through the troubleshooting steps in this guide.

      Administrador

  7. pammiechick says

    After I cleared my cache, it fixed. Why wasn’t this put into the article?

    Thinking I was going to have to get into code when it was a simple fix is silly.

    Please clear your browser cache first before you try anything else.

    • WPBeginner Support says

      It is very rare that your caching would cause that specific issue but we’re glad that clearing the cache worked for you. :)

      Administrador

  8. Hamza shah says

    Finally after changing the name of the faulty plugin via FTP i got the access to my wordpress dashboard but not the website… now what do i do to get my website back to normally working?

  9. Akindele Afeez says

    Hello, please i am currently experiencing a red screen while uploading from local to live server. Kindly help me out.

    • WPBeginner Support says

      That would depend on if there is an error message when you see that screen or not. If there are no error messages, you would still want to follow the recommendations in this article.

      Administrador

  10. Robin says

    I suspected a new plug-in was the problem, locking me out of the WordPress dashboard, but it wasn’t. I then searched and found your article. After reading it, I checked my functions.php file and found it had spaces at the end. I deleted the spaces and I was back in. Thank you.

    You’ve saved me from a lot of frustration.

  11. Jay says

    Your article says deactivate plugins then goes on to talk about FTP – you don’t say what to do after I’ve deactivated the plugins… unless I missed it.

    • WPBeginner Support says

      If the error disappears once the plugins are disabled, you would then know that the error is caused by a plugin and you would need to find the specific plugin.

      Administrador

  12. priya says

    Hi, I got white screen problem ..and get result from my site is” briefly unavailable for scheduled maintenance.check back in minute.”

  13. Gerry says

    I got the white screen. I had just made changes to my child theme functions php, so I knew what the problem was. I followed your steps to my wp-content /themes, Then I did this…and it was easy. Right click on child theme, topen, then functions php file, deleted what I did. Saved changes. Checked if I could enter wp-admin, and all was good. I did not have to hassle with changing themes or plugins on/off. I use your site often, and I hope you test this option, and put it as a simple solution.

    Thanks for your helpful site.
    Gerry

    • WPBeginner Support says

      Thank you for your recommendation to be included in the article, for those editing the code of their site it is a good option to try removing recently added code.

      Administrador

  14. Teshome says

    Hello there! My website based on WordPress has been working properly since Marc 2003. It needs maintenance and upgrading professionally. What do you suggestion me?

  15. Ron says

    I had this issue several months ago and found a temp work around. Click next to your url and hit your enter key. It always reloaded for me. The permanent fix is as one of your great suggestions. I increase the php memory and it hasn’t plagued me since.

  16. Jasmine says

    Your site has been so informative. Sadly though it hasn’t fixed my fatal error. I am unable to open the wp_admin/Dashboard. the below message is displayed. I have tried your plugins and this advice using my PHPAdmin to no luck.

    Fatal error: Call to undefined function wp_is_recovery_mode() in /home/huhu5715/public_html/wp-admin/includes/update.php on line 840

  17. Rahul sharma says

    I added my three websites on hostinger Premium plan. today I’m facing this problem. when I log in my admin panel it’s just loading and after that, it shows an error. all my three sites is not working. what should I do?

  18. Abhijit says

    I am facing the the wordpress white screen of death, after login I am facing the issue. And if I open the website in another tab then the options are visible but I am not able to access those options as when I click on the icons agter redirecting again I am facing white screen of death.

    • WPBeginner Support says

      You would likely want to enable error reporting in the Other Fixes section to see if it will give you an error message.

      Administrador

  19. Sam Chung says

    Hi I got the white screen of death.
    Tried to log in with FileZilla but no. WordPress.com says ID doesn’t exist.
    Can’t talk to anyone/chat at WordPress without being logged in.
    So how can I proceed? Please help.

  20. Beth says

    my initial message is “child” theme deleted, but them I can’t install a new theme, because I get “installation failed: could not create directory”…help!

    Thank you,
    Beth

  21. Freeman Phiri says

    i upgraded from ubuntu 16.04 to 18.04 last night now am getting a WSOD if i try to open the admin page i get plain text. tried all the steps you mentioned but nothing happened. i am on localhost

  22. Jeramiah says

    In my case, the security plugin had temporarily blocked me because I entered the password incorrectly too many times… I forgot I changed it. I was seeing a white screen with the word “error” in the upper left hand corner.

    To resolve this, I logged into the database and removed myself from the lockout table.

  23. Meghan says

    I’ve been trying to access my admin page through an FTP client as recommended and the connection keeps timing out (internet connection is fine, already ran a diagnostic on it) so I’m still locked out and can’t try to solve the WSOD problem. How do I proceed from here?

  24. Dingole says

    Had a client who had deleted their theme and this caused the white screen.. I had to look in the database in wp_options > stylesheet to find the the name of the theme and re download it. This fixed the problem for me

  25. Muhammadibn says

    I had the WSOD when I imported content from another site. The homepage would load but the rest of the links were not working. Turns out the problem was with the Permalinks. I sent to Settings > Permalinks and changed it to only post name and everything started working again.

    Hope that helps someone.

  26. Miri says

    We are two administrators, and the white screen of death is only affecting one of us — and not all the time. Any suggestions for this? Thanks.

    • LIAM says

      I am having a similar problem where I have had this problem reported by other users, but I do not experience it myself. I am an Administrator, but the people reporting the problem are not. I made a new account set up as Admin for someone who had this issue, and the WSOD did not affect them when using their new account. Because the problem is not universal and seems to be resolvable by changing the profile admin level, it makes me think that it is not the plugins or theme that is causing the issue. Any help would be greatly appreciated.

      • WPBeginner Support says

        Hi Liam,

        Many themes and plugins and trigger different functions based on user roles. Here is how you can test.

        1. Create a new user account with a user account that usually sees the WOD.
        2. Disable all your plugins.
        3. Visit your website with that user account in a different browser
        4. Reactivate your WordPress plugins one by one until the user account is able to see the WOD again.

        This way you will be able to figure out exactly which pluhgin is causing the issue. For checking your theme switch to a default theme and see if this solves the issue.

        Administrador

        • LIAM says

          Hi there,

          Thanks for the response and the suggestions. It sounds like a good way to start.

          Just to clarify, with Step 1. are you saying that I should duplicate an account that currently experiences this problem OR that I should use an account that sees the WSOD to make a new account for testing?

          Can’t see why it would be the second option, but I just thought I’d check as the wording was a bit confusing.

        • WPBeginner Support says

          Hi Liam,

          You should create a new user account with the same user role as the one seeing WOD on your site. For example, if a user account with author user role is seeing the error, then create a new dummy user account with author user role for testing.

  27. shubahm sharma says

    yesterday I started my new WordPress blog and for the first time today I log in to my WordPress admin account. after that, I click on visit blog. but I continue shows blank and whenever I tried to take a demo of my any theme available in WordPress store, in the demo it is again showing blank. it’s like every time any demo doesn’t show. how to fix it.

  28. Conny Lundberg says

    Hello there!
    I have a wordpress blog and have had my first experience of the famous White Screen of Death or at least I think so since the screen is white with only the WP logo. This started when I tried to approve a comment and the button didn´t respond after which I realized that I couldn´t access my admin controls, my stats or any personal controls.
    Since I have no experience what so ever of programming or coding and can´t even access the ordinary support pages without seeing this wsod, I am helpless and would soo appreciate if anyone of you computing wizards could help in any way?
    Best
    Conny

  29. Marek says

    Hi,

    I just tried to update the WP to the latest one 4.9. It took a while and got stuck in the maintenance mode. So I deleted the .maintenance file in the htdocs directory and now I can only see the while screen, nothing else.
    Please let me know how to fix it.
    Thanks!

  30. zabyi says

    i installed an fresh wordpress ver but got blank page after click on submit comment’s button , can anyone guide me how can i solve this issue /?

  31. alex mwailu says

    very helpful, just go to root folder, plugins and delete the most recent plugin or theme/the one that you have just installed

  32. Janlyn says

    This is really very helpful. Thank you very much. My blogsite just went blank after I updated some of the plugins. I followed your advised and deactivated all the plugins and activating them one by one. It did fix the issue! Thank you!

  33. Prosper Noah says

    Hi Wpbeginner,

    Thanks for this wonderful post.
    Well, I was able to fix mine renaming the wp plugins folder to pluginss

    Great tutorial once more.
    Do have a nice day!

  34. James says

    Great guide…. I’ve lost my site for 3 days now. Strange thing is that its only lost on iOS mobile (white screen), desktop works fine. W3 Super Cache caused the issue but i’m struggling to get it back up on mobile now….

  35. Trilby says

    I have had the ‘white screen of death’ for for weeks. I’ve had to store all of my what-would-be blog posts as notes in my device until I could find the solution. Nothing worked. I was about to create new blogs elsewhere when something struck me. I always browse in private mode. This never bothered wordpress in the past (years), but it occasionally will be the cause on other websites.

    After all this time… I turned off private browsing cleaned cookies for safe measure, and…. logged in just fine.

  36. Akshay Ambarte says

    I created company website on WordPress the whole web pages are working fine but when I add blog post then I am unable to see that post simply white screen is appearing without any warning.

  37. John says

    Had the WSOD problem when I updated my website theme. I had no website or admin login tried numerous fixes but to no avail.

    The solution that worked for me was to download the latest version of my theme. I renamed previous non functioning theme to themename_old and then uploaded via ftp the replacement theme zip file and extracted the contents and it worked.

    The above will work if you have access to cpanel or support at your serverhost can set up and supply you the ftp username, password.

    Good luck

Deja tu comentario

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.