Style WP_Debug?

You could add following code (if not done already) in wp-config.php (please make a backup first of this file): define(‘WP_DEBUG’, true); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); This way debug is activated but the results (if have errors/notices) will not be shown but will be saved in a logfile which you can find … Read more

XAMPP-VM Mac OS Mojave wordpress debugging using XDebug

After days of struggle to enable debugging, I switched to MAMP free version which was a cakewalk. For Step by step guide please follow this blog by Josh Buchea. Has a detailed walkthrough. Hope this helps someone stuck on Mac with Xampp-VM like i did. Switch to MAMP free version. Happy coding WordPress PHP

WordPress not writing error.log

You said you added the code in front of the file. In the wp-config.php I’m working with there’s this line towards the end: define(‘WP_DEBUG’, false); if your config file sets it to true first and then to false the problem could be that the last entry wins.