Linux 软件免费装
Banner图

Titanium Error Intelligence – PHP Error Monitor & Diagnostics

开发者 aplugins
更新时间 2026年9月1日 21:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debugging troubleshooting diagnostics php errors error monitoring

下载

1.0.0

详情介绍:

Titanium Error Intelligence is a local WordPress PHP error diagnostics plugin focused on how errors behave, not only on displaying raw log lines. It fingerprints supported critical errors, groups repeated occurrences and analyses changes in their timing and frequency. The diagnostics layer can identify sudden spikes, recurring patterns, short bursts, persistent errors and errors that have gone quiet. It also tracks the plugin, must-use plugin, theme or WordPress version associated with a grouped error when that information is available locally. For fatal-style failures that occur after WordPress has initialized, Titanium Error Intelligence can record a small privacy-reduced request-context snapshot and correlate it with the later log scan. This can show whether a grouped error affected frontend, REST API, AJAX, cron, login, wp-admin or WP-CLI execution without storing query strings, POST bodies, IP addresses, usernames or user IDs. The plugin also includes authenticated debug-log tools and a monitoring self-test, but the primary purpose is grouped error behaviour and impact diagnostics. What Makes It Different Error Behavior Intelligence Version-aware Error Lifecycle Request Impact Map Monitoring Self-Test The built-in self-test checks the local monitoring pipeline without deliberately generating a PHP error. It checks: Log and Debug Tools Titanium Site Watch Integration Titanium Error Intelligence exposes a compact local health summary for optional Titanium integrations. The summary contains grouped error metadata and behaviour counts such as spikes, periodic errors, bursts, persistence and frontend/API impact. The integration summary does not expose raw stack traces, SQL queries or absolute server paths. The public integration function is: titanium_error_intelligence_get_health_summary() Local by Default Titanium Error Intelligence does not send error history or request-impact data to a bundled external service and does not make remote version lookups. Its diagnostics data is stored in the WordPress installation.

安装:

  1. Upload the titanium-error-intelligence folder to /wp-content/plugins/, or install the ZIP through Plugins > Add Plugin.
  2. Activate Titanium Error Intelligence.
  3. Open Titanium Error Intelligence in wp-admin.
  4. Enable WordPress debug logging if it is not already enabled.
  5. Run the Monitoring Self-Test to verify the local pipeline.
On WordPress Multisite, network activation is required because WP_DEBUG_LOG is installation-wide. One scanner runs from the main site to avoid duplicate processing.

屏幕截图:

  • Debug Settings in light mode, including WordPress debug logging, protected log storage, on-screen error display and configurable live admin error alerts.
  • Debug Settings in dark mode with the same logging, storage and live admin alert controls.
  • Pipeline Integrity self-test, detected debug log location and log directory overview, showing whether the local monitoring pipeline and required components are operating correctly.
  • Built-in Log Viewer with line filtering, search, error-type filters, auto-refresh, highlighted log entries and file management controls.

常见问题:

Is this only a debug.log viewer?

No. The viewer is one tool in the plugin. The main diagnostics layer fingerprints and groups supported critical errors, analyses their frequency and timing, tracks source-version changes and correlates available request-impact context.

How does spike detection work?

The plugin keeps a bounded recent occurrence history. It compares the recent 15-minute activity with the retained preceding rate and requires multiple recent occurrences before an error can be labelled as a spike. A single isolated error is not considered a spike.

What is a periodic error?

When enough retained occurrences have a sufficiently stable interval, the plugin labels the grouped error as periodic and reports the approximate repeat interval. It reports the timing pattern only; it does not claim that a particular cron job caused the error unless that information is independently known.

What does the Request Impact Map store?

When context is available, it can store the execution context, HTTP method, privacy-reduced route shape, logged-in/guest classification, timestamp and bounded diagnostic metadata used for local correlation. It does not store IP addresses, URL query strings, POST bodies, usernames or user IDs.

Why do some errors have no request context?

Request context can be attached only when the plugin is already running in the request and PHP reaches the registered shutdown handler. Very early failures, failures that prevent local storage, and errors found only in an existing log may not have matching context.

Does the plugin send error data to an external service?

No. Error intelligence, history, request context and self-test data stay in the WordPress installation. The Site Watch integration is a local PHP function that another installed Titanium component can call.

Does it work with a private WP_DEBUG_LOG path?

Yes, provided PHP has permission to read the configured directory and file. File-changing actions also require write permission.

Does the plugin modify wp-config.php?

Only when an administrator uses the debug configuration switches. The plugin changes only WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY. Existing custom private WP_DEBUG_LOG paths are preserved.

Does the self-test generate a PHP error?

No. It writes a uniquely identified harmless marker through PHP's normal error-log channel and verifies that the marker can be read from the configured log. The marker is not treated as a critical error by the intelligence scanner.

How does WordPress Multisite work?

Titanium Error Intelligence must be network activated. Intelligence data and settings are network-scoped, request context can be captured across sites, and one five-minute scanner runs from the main site. The plugin admin UI is available from the main site's wp-admin.

更新日志:

1.0.0