- Connect to your server via FTP/SFTP.
- In the WordPress installation directory, open the wp_config.php file.
- Add the code snippet below, placing it just after the ‘That’s all, stop editing! Happy blogging’ line.
define ('WP_DEBUG', true);
define ('WP_DEBUG_LOG', true);- Save the file and upload it back to your server using FTP/SFTP.
- Any errors generated by your site will then be recorded in the debug.log file in /wp-content/debug.log file.
- Refresh the page of area of your site that you’re experiencing issues with so any errors have a chance and being saved in the debug file.
- Send your file to our support team. (If applicable)
- For security and performance, disable debugging by deleting the newly added code snippets or by switching the values from “true” to “false”.