I use the following settings to display errors in WordPress, to be added to error log.
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', true );
error_reporting(E_ALL);
ini_set('display_errors', '0');
I add these to wp-config.php and whatch the errors log.

I am a Digital Marketing freelancer.My expertise is in SEO (Search Engine Optimization) / UX (user experience) / WordPress.Co-founder of lumeaseoppc.ro (series of events on SEO & PPC) and cetd.ro (Book on branding for MDs).On a personal level, I like self-development - events, sports, healthy living, volunteering, reading, watching movies, listening to music.