Table of Contents

How to Enable Error Logging

If you want to enable Error Logging on your MainWP Dashboard, insert the following code to the wp-config.php file on your MainWP Dashboard site:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );

NOTE: You must insert this BEFORE /* That's all, stop editing! Happy blogging. */ in the wp-config.php file.

Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion