WordPress debug

If you have a wordpress web site that give blank screen, you can add following to wp-config.php to enable displaying errors.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
@ini_set( 'display_errors', 1 );
define( 'SCRIPT_DEBUG', true );

This should be added above line

/* That's all, stop editing! Happy blogging. */^M

https://wordpress.org/plugins/query-monitor/
https://wordpress.org/plugins/debug-bar/

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *