Linux 软件免费装
Banner图

Faultwright – Error Monitor, Cron & Email Failure Alerts

开发者 emtiazzahid
更新时间 2026年9月18日 23:51
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug email cron monitoring error log

下载

1.0.0

详情介绍:

"The site was fine yesterday." Faultwright shows you what broke, when it started, which plugin is probably responsible, and what to do about it. No external account, no developer required. Five failure sources, one timeline "What changed right before it started" Faultwright keeps a change log: plugin and theme installs, updates, activations, deletions, theme switches, WordPress and PHP version changes, permalink and URL changes. Every issue shows the changes in the 48 hours before its first occurrence, ranked by likelihood. Plain-English explanations Over forty built-in explanations cover the errors people actually hit: memory exhausted, maximum execution time, undefined function, cannot redeclare, headers already sent, SMTP authentication, cURL timeouts, mixed content, "$ is not defined", chunk load errors and more. Each one says what it means, the likely cause, what to try, and when to contact a developer or your host. For anything else, an optional bring-your-own-key Explain with AI button sends the error details to OpenAI, Anthropic, Google Gemini or any OpenAI-compatible endpoint (Ollama, Groq, OpenRouter). Nothing is ever sent automatically. Everything else Developer hooks faultwright_ignore_error, faultwright_js_noise_patterns, faultwright_explanations, faultwright_severity, faultwright_event_recorded, faultwright_notification_channels, faultwright_capability, faultwright_ai_prompt, faultwright_retention_days, faultwright_mail_activity_count.

安装:

  1. Upload the faultwright folder to /wp-content/plugins/ or install it from the Plugins screen.
  2. Activate the plugin.
  3. Open Faultwright in the admin menu. Click Install early loader (recommended) and Send test error to confirm capture works.
  4. Optional: set digest recipients under Settings → Notifications and an AI key under Settings → Explanations.

屏幕截图:

  • Issue detail: plain-English explanation, what changed before it started, occurrences and stack trace.
  • Timeline: errors and changes on one axis.
  • Cron health: next run, overdue flags, durations and Run now.
  • Dashboard widget with the 7-day sparkline.
  • Settings: capture sources, early loader, notifications and privacy.

升级注意事项:

1.0.0 Initial release.

常见问题:

Does it record warnings that were silenced with the @ operator?

Yes. Faultwright never reads or changes PHP's error-reporting level, so it cannot tell whether a call was wrapped in @. Warnings are grouped and counted, so a silenced call that fails repeatedly shows up as one group. Notices and deprecations are off by default and can be enabled in Settings.

Does it slow my site down?

No. When nothing goes wrong, the PHP handler costs well under a millisecond and no database queries run on the front end. The JavaScript collector is 1.4 KB and only talks to the server when an error happens. Sampling lets you record a fraction of front-end visitors.

Do I need WP_DEBUG on?

No. Faultwright captures errors directly. If WP_DEBUG_LOG is on, new lines in debug.log are imported as well and de-duplicated.

Does it send data anywhere?

No. Nothing leaves your site unless you click "Explain with AI" with your own key configured. There is no telemetry.

What is the early loader file?

A tiny file copied into wp-content/mu-plugins that loads Faultwright before every other plugin, so a fatal error raised while another plugin starts up is still captured. You can remove it from Settings → Capture at any time; uninstalling deletes it.

Can it fix errors?

It explains them and points at the most likely culprit with the change history. Rolling a plugin back or contacting the author remains a manual step.

Is it GDPR friendly?

Error records store the visitor's role, never a user ID, email address or IP address. IP addresses are hashed (/24) for rate limiting only and expire after one minute. Query strings are stripped from recorded URLs by default. Failed-email records keep the subject line and, optionally, the recipient domain, never the full address. The change log records which logged-in user activated, updated or changed something, so you can see who did what. The plugin adds a suggested paragraph to Settings → Privacy → Policy Guide.

Where is the JavaScript source?

The admin app and the browser collector ship un-minified in assets/src/; the files in assets/build/ are produced from them with npm install && npm run build (the package.json is included). Nothing else is compiled or obfuscated.

Is this a developer tool like Query Monitor?

No. Query Monitor inspects a single request while you look at it. Faultwright is a persistent history for site owners and the people who maintain sites for them.

How do I disable capture without deactivating?

Add define( 'FAULTWRIGHT_DISABLE', true ); to wp-config.php.

更新日志:

1.0.0