Debugging wordpress websites with wordpress owned functions

May 31st, 2020 admin 89 Views 0 Uncategorised40 seconds

In this tutorial we are going to learn about the debugging errors in wordpress by using the inbuilt functions in wordpress core.

For using wordpress owned we need to access the wp-config.php file.

wp-debug

Making WP debug true will display PHP errors and debug errors

define( 'WP_DEBUG', true );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', true );
-or-
define( 'WP_DEBUG_LOG', '/tmp/wp-errors.log' );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );

About The Author

admin

Leave Your Thoughts Here...

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.

Name *
Comment

We are glad you have chosen to leave a comment. Please keep in mind that comments are moderated according to our comment policy.