1

I am getting the wordpress white screen of death.

I want to display error messages. I tried define('WP_DEBUG', true) However it does not display any error messages.

Is there a work around?

user544079
  • 16,109
  • 42
  • 115
  • 171
  • Have you looked in your webserver's error logs? If hosted, look in your host's control panel for logs. If on a local or self-managed Linux, look in /var/log/httpd/error_log – webaware Dec 08 '12 at 09:18
  • The Cpanel error logs do not have any error related to the sub domain which shows the white screen of death. Any other work around? – user544079 Dec 09 '12 at 16:17
  • 1
    Start renaming plugin folders (e.g. add X to the end of each folder's name) which will stop them being found by WordPress. Do it one by one, check to see if white screen of death stops. Can you access the admin area (e.g. just add /wp-admin to site's url)? – webaware Dec 09 '12 at 21:27
  • Possible duplicate of [Woocomerce checkout page internal server error](https://stackoverflow.com/questions/47854995/woocomerce-checkout-page-internal-server-error) – Samvel Aleqsanyan May 06 '18 at 15:48

2 Answers2

1

put in ob_start(); in wp-config.php on top

0

The general approach that fixed it.

  1. Rename your wp-content
  2. Activate/ Decactivate your plugins
  3. Change your themes
  4. adding define('WP_DEBUG', true) in the wp-config.php
  5. Check the php files. In my case the php files were missing code!
user544079
  • 16,109
  • 42
  • 115
  • 171