WordPress debug.log and PHP 8.4 error analyzer
Paste your WordPress wp-content/debug.log or PHP 8.2/8.3/8.4 error trace below to group errors by severity (Fatal, Parse, Warning, Deprecated, Notice), extract the exact culprit plugin and theme folder slugs, cross-check live WordPress.org update dates, official closures and PHP 8.4 runtime lab results, and generate copyable WP-CLI commands. Your raw log text never leaves your browser tab.
Updated By THTheme Editorial Team
Key facts
- 100% client-side log parsing: raw stack traces, server paths, IPs and usernames are never uploaded
- Only clean WordPress.org folder slugs (for example woocommerce) are checked against /api/status
- Automatically detects PHP 8.2 dynamic property and PHP 8.4 implicit nullable parameter deprecations
- Outputs ready-to-run WP-CLI update/deactivate commands and sanitized Markdown for GitHub or Reddit
- Free public utility with no sign-up, no file upload limit in-memory (processes up to 2 MB instantaneously)
Analyze a WordPress debug.log locally
Paste log lines or drop a debug.log file. Absolute server paths (such as /home/user/public_html/) are automatically redacted in the copyable Markdown report.
Common PHP 8.2 to PHP 8.4 WordPress error patterns
| Log message pattern | PHP version | Severity | Typical fix |
|---|---|---|---|
Implicitly marking parameter $x as nullable is deprecated | PHP 8.4 | Deprecated | Update plugin to latest release or add explicit ?Type on custom code |
Creation of dynamic property Class::$prop is deprecated | PHP 8.2+ | Deprecated | Update plugin; legacy unmaintained plugins trigger log bloat on every request |
Using ${var} in strings is deprecated | PHP 8.2+ | Deprecated | Replace with {$var}; harmless until PHP 9.0 unless WP_DEBUG_DISPLAY is on |
Function utf8_encode() / utf8_decode() is deprecated | PHP 8.2+ | Deprecated | Update plugin or replace with mb_convert_encoding() |
Call to undefined function create_function() | PHP 8.0+ | Fatal error | Replace stale plugin immediately (removed in PHP 8.0) |
| Allowed memory size of N bytes exhausted | Any PHP | Fatal error | Check heaviest plugin memory deltas on /runtime-lab/ and raise WP_MEMORY_LIMIT |
How to enable WordPress logging safely without leaking errors
Never turn on WP_DEBUG_DISPLAY on a live production storefront. Add these three constants above /* That's all, stop editing */ inside wp-config.php, reproduce the issue, copy wp-content/debug.log, then disable logging and delete the log file so visitors cannot read it:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );- Block public access: confirm
https://yoursite.com/wp-content/debug.logreturns HTTP 403 or 404. - Stale culprit found? Check actively maintained replacements with the Batch Stack Auditor or compare two plugins side by side on /compare/.
- Orphan tables left after deactivating? Look up mystery
wp_*tables on /wordpress-database-tables/.
FAQ
Does this analyzer upload my debug.log file to a server?
No. All file reading, regular-expression parsing, severity grouping and path redaction execute locally inside your browser JavaScript engine. The only network requests sent contain public WordPress.org plugin or theme folder slugs (such as contact-form-7) to fetch latest release dates and closure status.
Should I panic over PHP Deprecated notices in debug.log?
No. Deprecated notices do not break pages on PHP 8.2, 8.3 or 8.4 on their own, provided WP_DEBUG_DISPLAY is false. They are early warnings that a function signature or pattern will be removed in PHP 9.0, though noisy deprecations can grow debug.log to gigabytes if logging is left enabled.
How do I recover if a PHP Fatal error locks me out of wp-admin?
Use WordPress Recovery Mode from the admin email alert, rename the culprit folder under wp-content/plugins/ via SFTP, or run wp plugin deactivate <slug> over SSH using WP-CLI.
Does it sanitize private file paths before I paste a report into Reddit or GitHub?
Yes. The Copy sanitized Markdown button replaces hosting prefixes before /wp-content/, /wp-includes/ and /wp-admin/ with [ABSPATH]/ and masks IPv4 addresses.
Sources
- WordPress Developer Documentation: Debugging in WordPress
- PHP 8.4 Deprecated Features Manual
- WP-CLI Plugin Command Reference