WP Debug Toolkit 1.2.0 is LIVE. Get $300 discount on the lifetime deal now
Use Discount Code WPDTLTD
Get WP Debug Toolkit

Open the WP Debug Toolkit (WPDT) Viewer App and check the Error Logs tab first. Most WordPress problems leave a trace there with a file path and line number. If the log shows a fatal error, use the Crash Recovery feature to isolate the responsible plugin or theme. If the page loads but feels slow with nothing in the log, start a Query Logger recording at WP Debug Toolkit › Overview › Database Queries in wp-admin. The Viewer App remains accessible even when WordPress is completely down, so for error and crash scenarios, it is your starting point regardless of whether wp-admin is reachable.

What You’re Diagnosing

Something is wrong with your WordPress site, but you don’t yet know what or where. Maybe you’re looking at an error message, a blank white page, a slow-loading page, a broken layout, or a site that won’t load in the browser or wp-admin at all.

This guide uses two entry points from WP Debug Toolkit: the Viewer App and wp-admin. The Viewer App houses the Error Logs tab and Crash Recovery feature, and remains accessible even when WordPress is completely down. The Query Logger recording starts from wp-admin and applies when the site is loading but performing poorly. 

Each addresses a different category of problem, and the goal here is not to fix anything directly. It’s to figure out which category you’re in. This guide walks you from “something is wrong” to the specific tool and guide that addresses it.

Tools Used in This Guide

WPDT ToolRole in This Guide
Viewer App: Error LogsFirst stop for any problem. Most errors leave an entry here with a file path and line number, and the Viewer App remains accessible even when WordPress is completely down.
Viewer App: Crash RecoveryIsolates a plugin or theme identified as the source of a fatal error, without requiring wp-admin access.
WP Debug Toolkit › Overview › Database Queries (wp-admin)Where you start a time-limited Record Queries session to capture database queries during a slow page load. 
Viewer App: Database QueriesWhere you review and analyze recorded query log entries. Continuous query logging can also be toggled on or off from this view.

Before You Begin

This guide assumes the following are in place before you start diagnosing.

  • WP Debug Toolkit installed and activated on the site you’re troubleshooting.
  • Relevant Modules licensed. The Error Logs tab and Crash Recovery require the Error Log Viewer module. The Database Queries view in the Viewer App requires the Database Queries module. Without an active module license, the Viewer App opens to a “No Modules Licensed” state.
  • Viewer App installed; this is strongly recommended before a problem occurs, since it’s your only access point to logs and Crash Recovery if wp-admin goes down. If it’s not installed yet, see Setting Up the Viewer App.
  • Error logging enabled; both WP_DEBUG and WP_DEBUG_LOG toggled to ON, so errors are actually being written to the log. If you haven’t done this yet, see How to Enable WordPress Debug Mode before continuing.

Walkthrough: Diagnosing a WordPress Problem

Phase 1: Check the WordPress Error Log First

Before you investigate anything else, open the Viewer App to investigate log entries in the Error Logs viewer. Most problems with your WordPress site, including fatal errors, warnings, and deprecated notices, leave a trace here, and that trace usually points directly at the responsible file.

  1. Open the Viewer App. The Error Logs tab loads by default.
  2. Check the most recent entries for anything timestamped around when the problem started.
  3. Note the error type, the file path, and the line number for any relevant entry.
wp-debug-toolkit-investigating-error-logs-in-error-logs-viewer

✅ What You Should See: If the log contains a recent entry, it names a specific file, often inside a plugin or theme folder, along with a line number and a severity badge such as Fatal, Error, Warning, Notice, or Parse. If the log is empty or shows nothing from the relevant time window, move to Phase 2 with that information in hand.

Phase 2: Identify What Kind of Problem You Have

What the log shows (or doesn’t show) determines your next move. Match what you found in Phase 1 to one of the branches below.

🔀 Decision Point

  • If the log shows a fatal error and the site shows a white screen or “critical error” message: the log entry names the responsible file and its plugin or theme slug. Note that slug, then switch to Crash Recovery in the Viewer App and manually locate and isolate that plugin or theme.
  • If the page loads but feels slow, and the log shows nothing relevant: this is likely a database performance issue. To capture a time-limited recording of the queries, use the Record button on WP Debug Toolkit › Overview in wp-admin. If you want to enable continuous query logging instead, that toggle is available from both the Database Queries view in the Viewer App and from the Overview screen in wp-admin. See How to Diagnose Slow Database Queries for more information.
  • If the log is empty and the problem is intermittent or visual, not an error: the issue may be a theme or plugin conflict that doesn’t throw a PHP error. See How to Debug Issues in a WordPress Theme or How to Debug Issues in a WordPress Plugin, depending on what changed most recently on the site.
  • If wp-admin won’t load at all and the Viewer App isn’t already installed: WPDT cannot be accessed at this point. You will need server-level access via FTP, SSH, or your hosting control panel to read the raw debug.log file or manually disable plugins. This is precisely why installing the Viewer App before a crisis occurs is strongly recommended.

Phase 3: Resolve and Confirm

Once you’ve identified the responsible component, whether through Crash Recovery’s isolation results, Query Logger findings, or conflict testing, the resolution pattern is the same regardless of which branch you took.

  1. Fix, update, or remove the responsible plugin, theme, or code.
  2. Return to the Error Logs tab in the Viewer App and confirm that no new errors appear after reproducing the original action.

If the original problem was a fatal error, and you have the Email Notifier module licensed with the MU plugin installed, WPDT will have sent a notification email alongside WordPress’s native recovery email. See WordPress Recovery Mode Integration for what happens next on the WordPress side.

✅What You Should See: The page or action that previously failed now completes without errors, and the Error Logs tab in the Viewer App shows no new entries from your test.

Debug WordPress — Frequently Asked Questions

What’s the First Thing I Should Check When Something Goes Wrong on My WordPress Site?

Check the WordPress error logs in the WPDT Viewer App. Most issues, including fatal errors, warnings, and notices, leave a trace with a file path and line number, and that single entry usually narrows your investigation to one plugin or theme before you do anything else.

What if the Error Log Is Empty but My Site Clearly Has a Problem?

Not all WordPress problems generate PHP errors. Visual bugs, caching issues, and some plugin conflicts may not log anything. In that case, test for a theme or plugin conflict by deactivating suspects one at a time, and check the Database Monitor if the issue looks like a performance problem rather than a visual one.

How Do I Fix a WordPress White Screen of Death?

A white screen almost always means a fatal PHP error terminated the page before it could render. Check the error log first; the entry will name the responsible plugin or theme file. From there, use Crash Recovery in the WPDT Viewer App to isolate that plugin or theme without needing wp-admin access. The Viewer App is accessible even when WordPress is completely down, which is what makes it the right tool for this specific scenario.

Is It Safe to Enable WordPress Debug Mode on a Live Site?

Enabling WP_DEBUG on a live site is risky if WP_DEBUG_DISPLAY is also on, because that pushes raw error output to the front end, exposing file paths and code internals to visitors. The safe pattern is WP_DEBUG on, WP_DEBUG_LOG on, and WP_DEBUG_DISPLAY off. With this setting, errors are written to the log silently without appearing on screen. WPDT manages all three constants from wp-admin with a single toggle, so there’s no need to manually edit wp-config.php.

What if I Can’t Access wp-admin to Start Debugging?

If wp-admin won’t load, your entry point is the WPDT Viewer App, which operates independently of WordPress and remains accessible during a fatal error or white screen. From there, you can read your WordPress error logs and use Crash Recovery to isolate the responsible component. If the Viewer App isn’t installed yet, you’ll need server-level access via FTP, SSH, or your hosting control panel to read the raw debug.log file, which is exactly why installing the Viewer App before a crisis occurs matters.

Related Documentation

How to Debug WordPress with WP Debug Toolkit – Gets you installed, oriented, and looking at your first log entries. Start here if you haven’t set WPDT up yet.

Crash Recovery – Shows you exactly how to isolate and disable a plugin or theme without touching wp-admin, once the error log names it as the culprit.

How to Check WordPress Error Logs – Explains where your log file lives and what each entry means. If Phase 1 left you with questions, read this.

How to Diagnose Slow Database Queries – Takes over where Phase 2 leaves off, walking you through how to start a Query Logger recording and interpret the results.

On this page
Try WP Debug Toolkit
The best error log viewer with amazing developer tools to help you troubleshoot your WordPress site securely and efficiently. Something something more.