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

后端 未结 4 1901
后悔当初
后悔当初 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:13

    You can write this into your .htaccess file.

    php_flag display_startup_errors on
    php_flag display_errors on
    php_flag html_errors on
    php_flag  log_errors on
    php_value error_log  /home/path/public_html/domain/PHP_errors.log
    

    Please change the error_log directory.

提交回复
热议问题