, ,

How To Fix White Screen Of Death Of WordPress

If you’re using WordPress for a long time then you may come across the term named The White Screen Of Death (WSOD). This is a one of the worst error that a beginner falls in and get in deep trouble. Following some steps this error can be fixed. Today we’ll go through the possible ways to Fix White Screen Of Death error in WordPress.

First let’s have a look why this problem occur. The WSOD can cause for some couple of reason. Probable reasons are listed below.

  • Poor memory limit
  • Incompatibility between Themes or Plugins
  • Syntax error


In five steps we’ll try to Fix White Screen Of Death issue.

  1. Increase Memory Limits

  2. Disable Themes and Plugins

  3. Fix in Syntax Errors

  4. Enable Debug Mode

  5. Check File Permission

1. Increase Memory Limits

Most of the time we use a shared hosting server that are given a lower memory to function properly a for a wide range of plugins or themes. Then the exhausted memory causes this problem.

To resolve this problem you need to increase the memory. Locate your wp-config.php file using your FTP manager and edit this file. Add the code given below to the file.

define(‘WP_MEMORY_LIMIT’, ‘64M’);

If this doesn’t resolve the problem you can increase memory limit through .htaccess file that are in your sites root directory. Simply add the following line in your .htaccess file.

php_value memory_limit 64M

If you have issue with poor memory hope this’ll Fix White Screen Of Death issue.


2. Disable Themes and Plugins

Sometimes this problem may cause for incompatibility of themes or plugins. To find the culprits you’ve to do the followings.

First of all deactivate all your themes installed in WordPress and refresh the page where the problem occur. See whether the problems fixes or not. If it is ok then the problem lies in your themes. To find the individual one causing problem activate your theme one by one. After activating the theme if the White Screen Of Death occurs again then the theme is responsible for causing the error.

After you find the accused theme for the error you can contact with it’s developer to solve this issue.

Same problem may lies in for a specific plugin. Solve for this issue is same as for theme. Follow those steps to find the theme responsible for the error.

3. Fix in Syntax Errors

If you use a poorly coded themes or plugin that may also cause the The White Screen Of Death may occurs. When there is a character less or more than it demands then the error occurs. If the error is relate to wp-config.php or functions.php then find the associated file by FTP manager and look into that if there is a blank line before opening or after closing a php tag. Delete those blank line and saving the file reload the page. Hope this will fix the issue if it relates with Syntax Error.

4. Enable Debug Mode

If you failed to detect the problem lies in then enable  WP_DEBUG feature to find it. Open your wp-config.php file through FTP manager once again and add the line below

define('WP_DEBUG', true);

define('WP_DEBUG_LOG', true);

define('WP_DEBUG_DISPLAY', false);


Save the file and reload the page. Now you will be given the clue where the problem hidden in. Locate that file and if you are familiar with coding a bit then resolve the issue

5. Check File Permission

If all the attempts go in vain then check your file permission. A wrong file permission may cause this error. Check and reconfigure your file if it have any issues. For instance

  • Change File Permission value to 644
  • Folder Permission value to 755


We know that this is one of the most confusing errors of WordPress. But we hope that one of the solutions above will help you to Fix White Screen Of Death Of WordPress error. If you find this article useful that stay tuning with Code Astrology blog.

, ,

Common Errors in WordPress and How to Fix Them

Sometime we face problems in our WordPress site. Today i’ll discuss three common error of WordPress and possible ways to fix them.

How to fix WordPress Syntax Errors

Most of the time a beginner face the syntax error. It’s a common problem in WordPress. Most of the time the problem caused in php file. When there is a missing syntax like semicolon, colon,underscore or any types of syntax that are used in php we get a error message on browser. If you face the same problem don’t be panicked. It’s easy to solve .

( ! ) Parse error: syntax error, unexpected ‘,’ in C:\wamp64\www\test_site\wp-content\themes\twentyseventeen\functions.php on line 376

There is a syntax/parse error in my twentyseventeen theme’s functions.php file on line 376.

So we’ll locate functions.php file find the problem and fix it.

syntax error

Syntax error

Here in the function.php’s 376 number line there is an additional comma(,) that is causing the error. Just remove the comma(,) and save the file. Then reload the page. And it works fine.

How to Fix 404 Not Found Error


Fix in Permalinks

Most of the time this error is caused for your permalinks structure. If the problem caused in permalinks then simply navigate to Dashboard->Settings->Permalinks. Set the permalinks type to Post name as shown below and save changes.

Permalinks structure

Permalinks structure

Hope this will work.

Edit .Htaccess

Sometimes this problem is caused for .Htaccess file in your theme. Modifying that file may solve the problem. Make your .Htaccess file like shown below.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test_site/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /test_site/index.php [L]

# END WordPress

Note: Here tests_site is my site directory on localhost. Use your own.

How to Fix Connection Timed Out Error

Sometime we face this error that say Connection Timed out. This may cause for exceeding maximum execution time but no response from server.

May be you are using a shared bandwidth that are slowing down your server. In that case upgrade your hosting plan.

Sometimes it may caused for a plugin. To solve this deactivate your plugin one by one and detect where it lies in.

Increasing your php memory may solve the issue. Just go to  wp-config.php file and add the line below.

define( ‘WP_MEMORY_LIMIT’, ’64M’ );


To get more tips and tricks like this stay with Code Astrology.