Skip to main content
All CollectionsMainWP FAQs
How to enable Error Logging?
How to enable Error Logging?
Updated over a month ago

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.

Did this answer your question?