Wp-config error handling

Solution:

Must be

define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
define(‘WP_DEBUG_LOG’, true);
And you don’t need to add WP_DEBUG twise, only change its value to true.