How to enable Error Logging?

Available with the following:

Additional Requirements:

{acf_additional_requirement}
Table of Contents

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 Questions?

Search for additional solutions in the MainWP Community or start your own discussion
MainWP Community

Table of Contents

Related Content

{acf_related_articles_1}{acf_related_articles_2}{acf_related_articles_3}{acf_related_articles_4}{acf_related_articles_5}

Ask AI Support Agent