You may enable the WordPress debug.log by editing your wp-config.php file via the Strattic SFTP.

You can find instructions on how to connect and find your SFTP details in our help article here.

How to Enable WP_DEBUG

Once connected to the SFTP to enable the WordPress debug log, you must add the following code to the /public_html/wp-config.php file

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

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

You must add these lines above the line that says
/* That's all, stop editing! Happy publishing. */

Once the wp-config.php file has been edited and uploaded any errors will be logged at wp-content/debug.log



Strattic is an end-to-end managed WordPress static publishing and hosting platform. Try it free for 14 days, no credit card required.

Did this answer your question?