Activate WordPress Error Reporting

by | Aug 12, 2025 | Uncategorized | 1 comment

Comment out the top line there, and add the rest to your wp-config.php file to get more detailed error reporting from your WordPress site. Definitely don’t do this live, do it for local development and testing.

// define('WP_DEBUG', false);

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

Written by

Related Posts

No Results Found

The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

1 Comment

  1. A WordPress Commenter

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *