In case you run into an issue, it might be necessary to get more details about the cause of the problem. Therefore we make use of WordPress’ debug logging.
Step 1: Enable the debug logging
In order to enable debugging, prevent errors and warnings from being displayed and log errors, you need add the following lines to your
1 | wp-config.php |
file:
1 2 3 | define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true ); |
Most WordPress installations already have an entry for
1 | WP_DEBUG |
set to
1 | false |
, so you’ll need to change this value to
1 | true |
.
In order to edit the config file, please connect to your web server via FTP and navigate to the root of your WordPress installation.
Step 2: Reproduce the error
Now you have to reproduce the issue in order to get the log entry created.
Therefore simply do what you did before, when the problem occurred: For instance visit your WordPress dashboard/frontend and simply repeat the operation or refresh the page that isn’t working properly.
Step 3: View the debug log file
The actual debug log is saved in a file called
1 | debug.log |
in your site’s
1 | wp-content |
directory.
One way to view and clear your log is to access that file directly via FTP. Alternatively you can use a plugin like Log Viewer and access the log directly via your admin dashboard.
Step 4: Send the log to our customer support
You might be asked to send the log file to our customer support team. Therefore simply download and attached it to your next email reply.
Alternatively create a new Pastebin and send us the link to it.