How to fix the WordPress White Screen of Death

written by Marie

Last updated on: February 17, 2017

Published on February 13, 2017

girlknowstech down

I just felt so much fear! While I was giving the final touches to the blog so that it is ready for its launch on January 1st, has become down. Error 500, and sometimes the famous white page of PHP. Do I need to tell you how disappointed I was? If you have the same problem right now, don’t be afraid, maybe I can help you fix the problem!

For my part, I had this error while I was modifying my file “functions.php” in WordPress: Appearance> Editor> Functions.php. What I did not know is that when we modify our file functions there, it is not the one at the root that we modify, but the theme’s functions.php!

1. Identification of the source of the problem

First, we are going to enable the debugging mode of WordPress.

Connect to your server via FTP and download the file www/wp-config.php.

Search for this line of code. Replace the “false” by “true” like shown below.

define('WP_DEBUG', true);

Upload the new file on your server.

Go back to your website and refresh the page. You should see an error message now that will help you know where the problem comes from.


2. Fix the problem

Now that you know the source of the problem and its path, go to the FTP and download this file which causes problems.

Erase the line of code or the piece of code in error. Then, upload the new file to the server. Then cross your fingers so that your blog works again!

-> If, like me, it is the file functions.php that caused your problem, know that you can empty it completely and your site will continue to function. So, if you are not able to tell what is the problem, you can add line by line your previous code in order to find what is causing the problem.



I hope this article can help someone. You can’t imagine how much I was panicking! 😉

Did you like this post? Support me with a coffee!

You may also like


Marcos Nunes February 17, 2017 - 2:57 am

Hello Marie. Here is Marcos Nunes, your Instagram follower (@marcosnunespgua).
Great post. I liked the part “cross your thingers”, very funny.
Congrats for your job. Success.

Marie February 20, 2017 - 11:01 pm

Haha! Thanks! 🙂

Marie February 22, 2017 - 10:51 pm

Hi, I’m glad to connect with you here! 🙂
Thanks for your comment!

Aseem Lalfakawma March 1, 2017 - 2:55 am

Hey, thanks for this. I love the way you have setup your blog, the design, etc.

Marie March 1, 2017 - 7:01 pm

No problem! Thank you so much, I’m glad you are enjoying it! 🙂

Girl Knows Tech is 1 year old – Girl Knows Tech March 4, 2017 - 10:39 am

[…] WordPress […]

Blog Income Report - March 2017 – Girl Knows Tech April 11, 2017 - 11:15 pm

[…] WordPress […]

Jean April 3, 2019 - 3:30 pm

Hello Marie thanks for the post, it helps me !

Marie April 5, 2019 - 6:43 pm

Hello Jean, thanks for your comment, I’m happy I could help!


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More