define('WP_DEBUG', true); not show errors

后端 未结 4 1885
后悔当初
后悔当初 2021-01-01 22:29

I enabled the errors in my wp-config file:

define(\'WP_DEBUG\', true);

But this not work, Wordpress continues showing me a white screen, a

4条回答
  •  情话喂你
    2021-01-01 23:10

    Add these two lines below the

    define('WP_DEBUG', true);
    
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
    

    then delete them when you don't need them any more.

提交回复
热议问题