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

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

    Plugins or themes that are using PHP's set_exception_handler() (see the docs) can also cause errors to not be shown, because their callback might just silently ignore the error. For example, I experienced the exact same thing using NextGen Gallery, but once I deactivated it, errors appeared as normal on both the page and in the debug.log file.

提交回复
热议问题