

Replace it with these three lines: define( 'WP_DEBUG', true ) You will need to edit wp-config.php and look for a line that reads: define( 'WP_DEBUG', false ) You can enable a WordPress debug log through the wp-config.php file found via SFTP in your site root. Please disable this once your troubleshooting is done.

IMPORTANT: Manually enabling WP_DEBUG could break the error logs we automatically provide. To view the most recent PHP error log’s entries, you’ll need to enter the following command. You can also access the PHP error log via SSH.

You will need to connect to the server via SFTP and then move up one directory (outside of the /htdocs directory) to find the /tmp folder. If so, it can break the my. error log reporting for the site SFTP SFTP AccessĪ php-errors log is located above the site root, in a folder called /tmp. IMPORTANT: If this method isn’t working, check to see if the WP_DEBUG_LOG ( outlined below) is enabled on the site. The Email PHP Logs button will send a CSV file with the most recent 500 logs of the site to your registered email address. The logs are displayed on the Control Panel directly and are formatted to give important information at a quick glance. The Get Latest button loads the most recent logs. These are sorted under 4 Status Codes and can be selected from the drop-down menu. For easy access and quick filtering, you can choose which error logs to show. The Logs tab can be accessed from a site’s settings page ( > select individual site > Logs tab). This error log file is automatically generated and errors can be reviewed via the MyPressable Control Panel, WP-CLI, or SFTP.
#Wordpress log in how to
In this article, we will review how to access WordPress error logs for your website to assist in debugging a problem and identifying theme and plugin errors.
