I'm trying to do my first wordpress plugin, and I've added this on my wp-config.php

define('WP_DEBUG', true);

define('WP_DEBUG_LOG', true);

define('WP_DEBUG_DISPLAY', false);

but i still have white screen of the dead...

  • 2
    Enabling debugging won't prevent errors, but it should hopefully provide information that will let you track down the errors. What is in the log file?
    – s_ha_dum
    Mar 3, 2014 at 19:38
  • If you are testing on local machine using LAMP or WAMP or XAMP, make sure the PHP setting display errors is enabled.
    – Shazzad
    Mar 3, 2014 at 19:48
  • @Shazzad error display is kinda being explicitly disabled in question there :)
    – Rarst
    Mar 3, 2014 at 20:40
  • this is the problem: I've no debug.log file in wp-content directory
    – Dudo1985
    Mar 4, 2014 at 20:09


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.