Course Content
Module 1: Understanding WordPress Troubleshooting – The Diagnostic Mindset
Introduce systematic troubleshooting methods specific to WordPress, focusing on how to think like a troubleshooter and recognize issue categories.
0/4
Module 2: Practical Diagnosis & Quick Fixes – Resolving WordPress Issues
Provide actionable step-by-step instructions to quickly identify and resolve frequent WordPress problems.
0/4
Module 3: Preventative Measures & Maintenance – Sustaining WordPress Health
Teach proactive measures for maintaining site stability, reducing errors, and preventing recurring issues.
0/4
101: The Basics of Website Troubleshooting

The Troubleshooter’s Framework

A safe, repeatable WordPress workflow—gather facts, log errors privately, isolate variables, and recover access without guesswork.

A repeatable method beats guesswork when a WordPress site breaks.

What you’ll learn

By the end of this lesson you will:

  • Think like a troubleshooter: isolate the cause, change one thing at a time, and document.
  • Use core WordPress tools to gather facts before touching anything.
  • Capture errors safely to a log (instead of showing them to visitors).
  • Recover access if a fatal error locks you out of wp-admin.

Start with Site Health to gather facts before changing anything.

Why the “method” matters

Most WordPress outages come from a small change that introduces a big side effect—an update, a new plugin, a theme tweak, a PHP setting, or a server rule. Guessing makes outages longer. A repeatable method makes them shorter and safer.

Small changes can trigger major outages—method keeps diagnosis fast, safe, and evidence-based.

Your baseline toolkit (built into WordPress)

Start with Site Health to gather facts before changing anything.

Site Health (Tools → Site Health)

Start every investigation with Site Health to see Status (critical issues, recommendations) and Info (server, database, constants, filesystem permissions). It’s a fast way to spot misconfigurations and next steps. WordPress.org ↗


Log errors privately—don’t show them to visitors.

Debug logging (never on-screen in production)

Enable debug logging to capture notices, warnings, and fatal errors to a file you can review:

// wp-config.php (place above: “That’s all, stop editing!”)
define( ‘WP_DEBUG’, true );
// Keep errors off-screen for visitors
define( ‘WP_DEBUG_DISPLAY’, false );
// Write errors to: /wp-content/debug.log
define( ‘WP_DEBUG_LOG’, true );

This configuration is the recommended pattern for diagnosing issues without exposing errors publicly. Logs are written to /wp-content/debug.log. Turn it off when you’re done. Developer Resources ↗


Recovery Mode lets you regain access while pausing the failing extension.

1. Recovery Mode (for WSOD/critical errors)

If WordPress detects a fatal error, it sends a special Recovery Mode link to the site admin email. Use that link to log in to a safe session where the offending plugin/theme is paused, so you can update, replace, or deactivate it—without touching code or taking the whole site down. Make WordPress ↗


Use database repair only when indicated—and disable it when finished.

2. Database repair (when you see DB errors)

If you hit “Error establishing a database connection” or suspect table corruption, WordPress includes a repair script you can temporarily enable:

define( ‘WP_ALLOW_REPAIR’, true );

Visit /wp-admin/maint/repair.php to run Repair or Repair and Optimize. Remove the constant after you finish. Always back up first. Developer Resources ↗


Site Health highlights configuration and performance signals—including object cache suggestions.

3. Site Health & object caching hint

For performance-related troubleshooting, Site Health may suggest enabling a persistent object cache (e.g., Redis/Memcached) when your site would benefit from it. Developer Resources ↗


Stabilize → gather facts → check logs → isolate → re-test → document.

A safe, repeatable workflow

1
Stabilize first: Use Recovery Mode or temporarily rename plugin/theme folders via SFTP to regain access. Log the error with WP_DEBUG_LOG.
2
Gather facts, don’t guess: Check Site Health for PHP version, server specs, and critical alerts.
3
Check the logs: Open debug.log and match timestamps to the incident to identify repeating errors.
4
Isolate the variable: Reproduce the issue and change one thing at a time. Re-test after each change.
5
Write it down: Note observations and results. This speeds up future fixes and provides a remediation record.

Test changes in staging and keep production clean and secure.

Good habits that prevent escalations

  • Keep debugging off-screen in production and turn logging off when finished.
  • Use staging to test updates safely before production.
  • Treat Site Health as your pre-checklist to fix flags before big changes.

Next: classify symptoms fast so you choose the right diagnostic path.

What’s in the next lesson?

  • Lesson 1.2: teaches you to classify symptoms fast so you pick the right diagnostic path immediately.
  • Module 2: applies the method to real fixes (performance, HTTP/DB errors).
  • Module 3: turns your notes into a maintenance routine that prevents repeat incidents.

References

Exercise Files
Downloadable Resource – WordPress Performance Troubleshooting Lesson 2.1 Checklist (PDF).pdf
Size: 17.85 MB