WordPress: disable white screen of death, enable standard PHP errors

Solution:1

may be you should try looking

.htacces file

Some web hosting providers allow to modify php parameters from .htaccess file like this.

php_value display_errors 1

Here is php.net documentation for this.

https://www.php.net/manual/en/configuration.changes.php

Here are some more directives that you can add to htaccess or domain’s httpd.conf

#hide php errors

php_flag display_startup_errors ON

php_flag display_errors ON

php_flag html_errors ON

php_flag log_errors on

php_flag ignore_repeated_errors off

php_flag ignore_repeated_source off

php_flag report_memleaks on

php_flag track_errors on

php_value docref_root 0

php_value docref_ext 0

php_value error_log /home/path/public_html/domain/PHP_errors.log

php_value error_reporting 999999999

php_value error_reporting -1

php_value log_errors_max_len 0

Order allow,deny

Deny from all

Satisfy All

Solution:2

In wordpress you can enable errors in wp-config.php:

define('WP_DEBUG', true);