Documentation > How To Guides > Enable debug.log

Enable debug.log

We will sometimes ask you to send us your debug log, when you are experiencing issues using picu. To find out what exact error is causing an issue, WordPress’ debug.log can help.

Activating Debug Mode

In your wp-config.php file, insert the following lines:

define( 'WP_DEBUG', true );
define ( 'WP_DEBUG_DISPLAY', false );
define ( 'WP_DEBUG_LOG', true );Code language: PHP (php)

Occurring PHP notices, warnings and errors – and sometimes additional information – will then be written into the debug.log file, which you can find in the wp-content directory of your WordPress installation.

To disable debug mode, you can just set the WP_DEBUG constant to false .

Security Concerns

We advise you to enable debug mode only temporarily for security reasons.

We suggest the following approach:

  1. Enable debug mode.
  2. Visit the page/picu collection where the error occurs.
  3. Disable debug mode.
  4. Send the debug.log file to support@picu.io.
  5. Delete the debug.log file from your server.

Need help?

If you couldn’t find what you were looking for and need more assistance, please get in touch with us directly and we’re happy to help.