WPHI Diagnostic Suite Lite

Opis

You already know something is wrong. This plugin tells you what, why, and exactly how to fix it.

Most WordPress diagnostic tools show you a list of problems. WPHI Diagnostic Suite goes further: it reads your PHP error log, traces each error back to the plugin that caused it, checks whether a recent update triggered it, and gives you a structured “error map” — plain-English explanation, probable cause, impact level, numbered fix steps, and WP-CLI commands — specific to the actual function or class that failed. It also features a temproary error log, which reports all current errors, and can be cleared for quick debugging and error remediation. This allows for realtime reporting of which errors have been resolved, and which still exist.

It does all of this without touching a single row of your data. Every query is SELECT-only. No cleanups, no automation, no risk.

Who is this for?

Site owners who see “something is wrong” on their dashboard and don't know where to start.

Developers who need to diagnose a client site quickly without installing Query Monitor on production.

Agencies managing multiple WordPress sites who need a fast, reliable read on site health before and after maintenance.

Anyone who has ever looked at a PHP error log and not known what to do next.

What makes this different

Most diagnostic plugins show you numbers. This one tells you what the numbers mean for your site, right now.

Plugin attribution everywhere. It's not enough to know you have 12 custom database tables. You need to know which plugin owns each one, how many rows each table has, and what would happen if you deactivated that plugin. The Blast Radius module traces every custom table, every scheduled cron job, and every REST API namespace back to the plugin that created it — using callback Reflection, file scanning, and a curated fingerprint database covering 30+ popular plugins.

Error maps, not error lists. When the Error Log Viewer finds a PHP fatal error, it doesn't just show you the message and file. It opens a structured “error map” with five sections: what this error class means in plain English, the probable cause based on the actual function or class name extracted from the message, the impact on visitors, numbered fix steps specific to this error type, copyable WP-CLI commands, and a prevention tip. A “Call to undefined function wc_get_cart()” gets different advice than a “Cannot redeclare foo()” — because they're different problems.

Recommended diagnostic paths based on your live data. The dashboard reads your current error log, autoload size, overdue cron count, and pending update count, then surfaces the two or three diagnostic paths most likely to lead you to the root cause of your current problem — in the right order. No generic checklists. Paths are ordered by how strongly your live data points to each scenario.

Change correlation. The What Changed? module tracks every plugin update, activation, and WordPress core update as a timestamped event. When a PHP error appears, it calculates a 0–99 correlation score between the error and the most likely change that caused it — using file-path matching (the error originates inside the updated plugin's folder) as the primary signal. You can see at a glance whether last night's WooCommerce update is responsible for today's fatal errors.

The Modules

🏥 Health Score Dashboard
An animated 0–100 gauge computed from all module findings. Issues are listed with severity labels and direct links to the relevant module. Opens instantly — no page scan required.

🔍 Error Log Viewer
Parses your PHP error log and groups identical errors. Each group shows severity, occurrence count, first and last seen timestamps, file path, line number, and a full error map with fix steps and WP-CLI commands. A “What Changed?” button on each card checks whether a recent update correlates with the error's appearance. Error log search filters live without a page reload and composes correctly with pagination.

📡 What Changed? — Timeline Correlation
Tracks plugin updates, activations/deactivations, WordPress core updates, and theme changes as timestamped events. Displays them on an interactive SVG timeline alongside PHP error spikes. Clicking any correlation finding shows the confidence score, the reasoning, and the specific files involved.

🗄️ DB Health Inspector
Shows every autoloaded option ranked by size with colour-coded severity. Flags orphaned postmeta rows left by removed plugins, and lists every table exceeding 50 MB. Identifies the exact options driving your autoload overhead.

⚡ Autoload Governor
Full per-plugin autoload attribution — know which plugin owns each option. Includes Deep Autoload Diagnostics with five detection passes: orphaned options from removed plugins (80+ plugin fingerprint database), autoloaded transients, duplicate cache clusters, migration remnants from backup tools, and stale WooCommerce sessions. Each finding shows the size in KB and includes a ready-to-run WP-CLI command.

🎯 Blast Radius Analyzer
Every custom database table attributed to its owning plugin — with name, version, and approximate row count. Every non-core cron job attributed via callback Reflection and hook-name fingerprinting. Know exactly which plugins have the deepest footprint on your site and what removing them would affect.

🖼️ Asset Inspector
Every JavaScript and CSS file WordPress enqueues on the front end, with individual file sizes and running totals. If a plugin loads a 400 KB script on pages where it's not needed, this is where you find it.

🕐 Cron Inspector
Every WP-Cron and Action Scheduler job with its next run time and recurrence interval. Overdue jobs are highlighted — they run on the next page request and spike load for that visitor.

💣 Time Bomb Detector
Checks your SSL certificate expiry and warns you 30 days in advance. An expired SSL certificate is a site outage your visitors experience before you do.

🖥️ Server & PHP Environment
PHP memory limit, max execution time, upload limits, OPcache status, and server software details. The configuration ceiling that caps everything else your site can do.

📄 Export Report
Downloads a self-contained HTML report covering health score, database metrics, error log summary, and system snapshot — useful for sharing findings with a developer or keeping as a pre-maintenance baseline.

Recommended Diagnostic Paths

The dashboard evaluates seven common WordPress problem scenarios against your live site data and surfaces the ones most relevant right now:

  • Something broke after an update — What Changed? Error Log Blast Radius
  • Slow admin panel — Autoload Governor Cron Inspector DB Health
  • Checkout or payment issues — Error Log Cron Inspector Blast Radius
  • Random outages — Error Log Server & PHP Cron Inspector
  • Plugin conflict suspected — Error Log Blast Radius Conflict Detector (Pro)
  • Database errors — Error Log DB Health Blast Radius
  • Performance regression — Asset Inspector Autoload Governor DB Health

Each path shows specific errors from your log that triggered the recommendation, so you know exactly what you're chasing before you open the first module.

100% Read-Only. Safe on Any Live Site.

Every query this plugin runs is SELECT, SHOW, or SHOW INDEX. It never writes, updates, or deletes anything. There is no cleanup feature, no auto-fix button, no risk. It was designed from the ground up to be safe on live production sites — because that's where you need a diagnostic tool most.

Free. No Account. No Expiry. No Ads.

All modules listed above are free forever. No trial period, no nag screens, no email signup, no telemetry, no usage limits.

Upgrade to WP Health Inspector Pro

The Pro plugin runs alongside Lite and unlocks additional modules:

  • Pre-Update Impact Analysis — before every update, see the plugin's Blast Radius Score (0–100): how many hooks it shares with other plugins, which DB tables it owns, how many cron jobs it runs, and a risk rating (Low / Moderate / High / Critical)
  • Root Cause Analysis — correlates findings from all modules into plain-language conclusions, with named plugin attribution, WP-CLI commands, and a “Primary Suspect” callout when multiple findings point to the same plugin
  • Conflict Detector — which specific plugins are fighting over the same hooks, loading duplicate assets, and providing overlapping functionality — with plugin names, versions, and one-click deactivation links
  • Request Profiler — per-request execution timing, memory consumption, database query counts, and hook timeline for deep performance diagnosis
  • External Dependencies — outbound HTTP latency monitoring; identifies slow or failing calls to payment gateways, APIs, and CDNs
  • Risk Indicators — deprecated function and hook scanner; checks each plugin against the WordPress.org compatibility API
  • Performance Baselines — records snapshots over time and flags regressions automatically
  • Core Web Vitals — server-side LCP, CLS, and INP estimates with actionable signals
  • Complete Server Audit — full php.ini audit, all wp-config.php constants, PHP extension checklist, and database server details

See everything included in Pro

Slike ekrana

Instalacija

  1. Install through the WordPress Plugins screen (Plugins Add New search “WPHI Diagnostic Suite”) or upload the zip manually.
  2. Activate the plugin.
  3. Navigate to Health Inspector in the WordPress admin menu.

No configuration required. The plugin reads existing data — your error log, database, cron schedule — and has no settings to configure before it starts showing results.

ČPP

Does this plugin make any changes to my database?

No. Every query uses SELECT, SHOW, or SHOW INDEX. Nothing is inserted, updated, or deleted. The plugin has no write path of any kind.

Can I run this on a live production site?

Yes — that's what it was designed for. It has no frontend footprint (nothing loads for visitors), and all queries are read-only.

Will it slow down my site?

The plugin only runs code when an administrator opens one of its pages in wp-admin. It has no frontend hooks, no background tasks of its own, and no code that runs on regular page loads.

What does “Blast Radius” mean?

Blast radius is a measure of how deeply a plugin or theme has modified your WordPress installation — custom database tables, background cron jobs, and autoloaded options. A plugin with a large blast radius is harder to safely remove because it has more hooks into your site's data and operations.

What is the correlation score in What Changed?

Each error-to-change pairing is scored 0–99. Scores of 80–99 indicate file-path matching: the PHP error originates inside the updated plugin's own folder, which is strong evidence. Lower scores indicate temporal matching: the error appeared within a few hours of the change, but the file connection is indirect.

How does plugin attribution work in Blast Radius?

Three methods in sequence: (1) a curated fingerprint database mapping known table prefix patterns to plugin slugs (covers 30+ major plugins including WooCommerce, Gravity Forms, Yoast SEO, Elementor, BuddyPress, and more); (2) a file scan of each active plugin's main PHP file looking for the table name in the source code; (3) fuzzy slug matching between the table name and plugin folder names. Cron attribution uses PHP Reflection on the registered callback to trace it to a source file, with hook-name pattern matching as a fallback.

Who can see the plugin pages?

The plugin requires the manage_options capability. Only users with the Administrator role can access its pages.

Why are some asset sizes in the Asset Inspector listed as Unknown?

The inspector uses HTTP HEAD requests to check file sizes. Some CDN-hosted files do not return a Content-Length header for HEAD requests, so the size cannot be determined remotely.

Can I use Lite and Pro at the same time?

Yes. They are designed to coexist — Lite handles the free modules and Pro adds its own on top. Both can be active simultaneously with zero conflicts.

Recenzije

Nema recenzija za ovaj dodatak.

Saradnici i programeri

“WPHI Diagnostic Suite Lite” is open source software. The following people have contributed to this plugin.

Doprinositelji

Zapis promijena

3.1.0

  • New: Blast Radius attribution — every custom table, cron job, and REST namespace now shows which plugin owns it (name, version, row count) using Reflection, file scanning, and a 30+ plugin fingerprint database
  • New: Error Map — the fix guide for each error group now has five structured sections: What This Means, Probable Cause (extracts the actual function/class/variable from the error message), Impact, numbered Fix Steps specific to the error type, and a Prevention tip; WP-CLI commands are included throughout
  • New: What Changed? — interactive SVG timeline correlating change events to PHP error spikes, with file-path-based matching and 0–99 correlation scores
  • New: Deep Autoload Diagnostics — five detection passes: orphaned options from removed plugins (80+ fingerprint database), autoloaded transients, duplicate cache clusters, migration remnants, and stale ecommerce sessions; each with WP-CLI remediation commands
  • New: Recommended Diagnostic Paths on the dashboard — seven evaluated scenarios driven by live error log data, autoload size, and cron status
  • New: “What Changed?” button on every error card — opens the correlation panel inline without navigating away
  • New: Table pagination — 10/25/50/100/All page size selector, result counter, and navigation at both top and bottom of every data table; scroll container with sticky header enabled when more than 25 rows are shown; page size preference persisted across sessions
  • Improved: Admin menu reordered into logical groups — Diagnostics first, then Performance, Risk & Safety, Environment
  • Improved: Dashboard health issues now include direct [ View] links to the relevant module
  • Improved: WP_DEBUG_LOG check now verifies actual web accessibility of the log file — escalates to critical only when the log is inside the webroot
  • Improved: Error log search uses class-based filtering so it composes correctly with pagination

3.0.3

  • Improved: Added Autoload Governor button in DB Health panel

3.0.2

  • Improved: Moved all inline CSS to assets/css/style.css
  • Updated cron-background.php to improve reporting

3.0.1

  • Improved: Updated messaging regarding Lite / Pro interaction on Pro activation

3.0.0

  • New: Error Log Aggregation module
  • New: Export Report feature
  • New: Autoload Governor with full per-plugin autoload attribution
  • New: Time Bomb Detector with SSL certificate expiry check
  • New: Server & PHP Environment summary
  • Improved: PHP requirement raised to 8.0
  • Improved: All date output now uses gmdate() for timezone safety
  • Improved: AJAX endpoints now verify nonces
  • Fixed: Unprefixed global functions renamed with wphi_ prefix
  • Fixed: Database queries use $wpdb->prepare() and esc_like() throughout

2.0.0

  • New: Health Score dashboard with animated SVG gauge
  • New: Complete CSS design system with CSS custom properties
  • New: Full mobile responsiveness across all pages
  • Improved: Consistent Model/View architecture across all modules
  • Fixed: Autoload size query now covers auto in addition to yes, on, auto-on

1.1.0

  • Initial structured release with DB Health, Blast Radius, Asset Inspector, and Cron Inspector modules.