Light Dark

*to close search form press ESC or close toggle

Fabula – News & Magazine WordPress Theme
73 Articles Version 1.0
Tips and Tricks

How to Enable WP Debug

Home Docs Fabula Tips and Tricks How to Enable WP Debug

To troubleshoot issues effectively, it’s often helpful to enable debugging in WordPress. Follow these steps to turn on WP Debug:

  • Access the wp-config.php file: Open the wp-config.php file located in the root directory of your WordPress installation.
  • Edit the Debug Settings: Locate the line of code that reads:
define( 'WP_DEBUG', false );

Change false to true so it reads:

define( 'WP_DEBUG', true );

This enables debugging and displays errors on the front end of your website.

  • Enable Debug Logging (Optional): To save errors to a log file instead of displaying them, add or modify the following lines in wp-config.php:
define( 'WP_DEBUG_LOG', true ); 
define( 'WP_DEBUG_DISPLAY', false );

This configuration will log errors to a file named debug.log located in the wp-content directory, without showing errors on the website.

Debug log constants
Built-in Error Logging

Our theme includes built-in error logging, which you can enable easily. Go to Fabula Dashboard -> Logs and click Enable Logging to activate it. This will allow you to track and review errors directly from your dashboard.

Built-in error logging

Didn't find the answer to your question?

Let us help you find the solution you're looking for.

Submit a Ticket