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/

Advertisement

Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement