Linux 软件免费装
Banner图

0 Day Analytics

开发者 sdobreff
更新时间 2026年3月9日 21:39
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv3 or later
版权网址: 版权信息

标签

debug performance cron error log transients

下载

3.0.1 3.0.0 3.9.4 1.6.1 3.9.3 1.9.8 2.7.1 1.9.6 4.9.0 3.6.4 3.7.0 1.4.0 3.6.2 2.4.2 2.1.3 2.2.2 3.7.3 3.7.2 1.8.2 1.9.5.1 2.1.2 1.9.7 3.3.0 4.2.1 1.5.0 1.6.0 1.0.1 1.8.3 1.8.4 4.7.0 4.0.0 1.8.1 2.7.2 2.8.1 3.7.4 3.7.5 3.7.6 2.5.0 2.4.0 1.8.4.1 1.9.4.1 1.9.5 1.3.0 1.0.0 1.1.0 1.1.1 1.2.0 1.5.1 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.8.0 1.8.6 1.9.0 1.8.5 1.9.1 1.9.2 1.9.2.1 1.9.3 1.9.4 1.9.8.1 1.9.8.2 2.0.0 2.3.0 2.4.2.1 2.6.0 2.1.0 2.1.1 2.2.0 2.4.1 2.6.2 2.2.1 2.6.1 2.7.0 2.8.0 2.8.2 2.9.0 4.5.2 4.6.0 3.1.1 3.4.0 3.4.1 3.5.0 3.5.1 3.1.0 3.2.0 3.5.2 3.3.1 3.6.0 3.6.1 3.6.3 3.7.1 3.8.0 3.9.0 3.9.1 3.9.2 4.3.0 4.3.1 4.4.0 4.1.1 4.4.1 4.1.0 4.2.0 4.5.0 4.5.1 4.8.0

详情介绍:

0 Day Analytics is a comprehensive WordPress debugging and operational intelligence plugin. It is purpose-built for developers and site administrators who need real-time visibility into their PHP errors, scheduled tasks, database state, outgoing emails, HTTP requests, hook behaviour, and overall site health — all from a single admin interface. Unlike general monitoring services, 0 Day Analytics runs entirely inside your WordPress installation with no third-party data collection. Every module is opt-in and designed with performance in mind. Error Log Manager Read, search, filter, and manage your PHP/WordPress error log without leaving the admin. Engineered for very large (GB-sized) logs using a reverse-line reader that never performs a full-file read. Supports code-context viewing (click any error to see the surrounding source), per-severity filtering, log truncation, and download. Optionally randomise the log filename to reduce exposure. PHP Fatal Error Tracker Captures and stores PHP fatal errors in a dedicated database table, it records PHP errors even if the WP_DEBUG is turned off so they persist even after the log is rotated or overwritten. Each record includes error type, file, line, stack trace, and timestamp — searchable and filterable directly in the admin. Site Performance & Security Scanner Runs 32+ automated checks across three categories — Security, Speed, and Resources used — and presents a scored dashboard with actionable recommendations. Checks include: PHP version, WordPress version, SSL certificate, debug mode exposure, file permissions, database prefix, XML-RPC, login URL, active plugin count, autoloaded options, cron health, page caching, object caching, gzip compression, lazy loading, image optimisation, and more. Google PageSpeed & Core Web Vitals Analyse any URL directly from the WordPress admin using the Google PageSpeed Insights API. Displays Performance, Accessibility, Best Practices, and SEO scores with Lighthouse category breakdowns for both desktop and mobile. For that you need to provide your own PageSpeed Google API key. URL Tracker & Asset Analyser Automatically tracks visited page URLs on your site. For each recorded URL, you can collect all associated JS, CSS, and media assets (with file sizes), run a Google PageSpeed analysis, and review visit counts — making it easy to audit page weight and performance regressions over time. Cron Manager View, search, edit, manually run, and delete WordPress scheduled tasks. Shows next run time (UTC), recurrence interval, arguments, and last execution status. Supports bulk actions and advanced filtering. Transients Manager Browse, search, edit, and safely delete database transients. Displays expiry time, serialised value (pretty-printed), and size. Bulk delete supports filtered selections. Outgoing HTTP Requests Viewer Logs all outgoing wp_remote_* calls made by WordPress core, themes, and plugins. Records URL, method, status code, response time, triggering plugin, user, and full request/response detail. Export to CSV for external analysis. Advanced filtering by domain, plugin, status, and date range. Mail Logger & Composer Records every email sent through wp_mail() — including headers, body, attachments, CC, and BCC — and stores it in a searchable log. View the rendered email body, resend any logged email, or compose and send new emails directly from the admin. Supports HTML and plain-text previews. SMTP Configuration Configure custom SMTP settings (host, port, encryption, username, password) with a built-in test email tool. Optionally log SMTP debug output to the WordPress debug log. WP Hooks Monitor Define which WordPress actions and filters (core or custom) you want to observe. The Hooks Capture module records each invocation with its parameters, return value (for filters), and a full stack backtrace. Organise monitoring rules into named groups, enable/disable per hook, and review the captured output in a dedicated list view. DB Table Manager Browse, search, edit, and delete records across any table in your WordPress database — including custom plugin tables. Displays table size, engine, collation, row count, and schema information. Supports full and filtered truncation and table drop with confirmation. Server Info & System Status Displays real-time server metrics (CPU load, memory usage, disk space, PHP version, active extensions) as both admin-bar badges and a dashboard widget. Also provides a detailed environment report useful for support tickets and deployment checks. Plugin Version Switcher Roll back or switch between any previously downloaded version of an installed plugin without leaving the admin. Useful for quickly reverting after a bad update. Supports only free plugins from the WordPress repo. Code Snippets Write, save, and execute custom PHP snippets from the admin. Snippets support shortcodes, can be enabled/disabled individually, and are sandboxed before execution. Useful for one-off data migrations, testing custom logic, or generating dynamic output without creating a custom plugin. Recovery Mode Generate single-use recovery links that can disable a specific plugin or trigger a custom action — delivered via Slack, Telegram, or any configured webhook channel. Designed for emergency recovery when the site is inaccessible through normal means. The recovery URLs are sent in Slack and Telegram channels for security. Other Features

安装:

  1. Place the 0-day-analytics folder into /wp-content/plugins/ (or install via the Plugins screen or WP CLI).
  2. Activate on the WordPress Plugins screen.
  3. Visit 0 Day in the admin menu and configure settings.
  4. Enable only the modules you need to minimise footprint.
  5. Recommended: test on staging before enabling on production.

屏幕截图:

  • PHP Fatal Errors Tracker — dedicated view for PHP fatal errors and exceptions with stack traces, file references, and occurrence timestamps.
  • Performance: Site Health — site-wide health scanner showing speed, SEO, security, and accessibility scores with actionable recommendations.
  • Performance: PageSpeed — Google PageSpeed Insights integration with filmstrip timeline, FCP/LCP/TBT/CLS metrics, and per-page improvement tips.
  • Performance: URL Tracker — monitor and benchmark individual URLs for load time, status, and PageSpeed score from a central list.
  • Cron Job Manager — complete view of all WordPress scheduled events with next-run time, recurrence, arguments, and inline run/delete actions.
  • Transients Manager — browse, search, inspect, edit, and bulk-delete all database transients with expiry countdown and pretty-printed values.
  • Outgoing Requests Dashboard — analytics overview of all wp_remote_* calls: total count, success rate, top domains, and per-request timing detail.
  • Mail Log Viewer — log of every email sent by WordPress with to/from, subject, size, HTML/text toggle, attachment flag, and success/fail status.
  • Hooks Capture Log — live log of WordPress action and filter hook executions with hook name, priority, arguments captured, and output recorded.
  • Hooks Management — configure which hooks to monitor: enable/disable capture, set priority, filter by category, and add custom hook definitions.
  • DB Table Viewer — browse any WordPress database table with full-text search, sortable columns, bulk actions, and inline record editing.
  • Server Status — real-time dashboard for CPU usage, memory consumption, and disk usage with system information (uptime, load average, WP version).
  • Plugin Settings — Error Log options panel: enable WP_DEBUG, WP_DEBUG_LOG, randomise log filename, configure log path and display settings.
  • Code Snippets — create, enable, disable, and delete custom PHP snippets that execute on the site, with syntax highlighting and run-on selection.

常见问题:

Why only read the last N errors instead of the whole log?

Reading only the tail of the log avoids loading gigabytes of data into memory on every page view. The number of lines to read is adjustable via Screen Options on the Error Log screen.

Why is there no pagination for the error log?

Pagination would require seeking to arbitrary byte offsets in potentially very large files on every page load. The tail-read approach is orders of magnitude faster for the most common use case (seeing recent errors).

How do I enable or disable error logging?

Go to 0 Day → Settings → Error Log and toggle "WP Debug Log Enabled". For best results, test the setting on a staging environment first.

Can I randomise my error log filename?

Yes. In Settings → Error Log, click "Generate WP Debug Log File Name". A cryptographically random filename will be written into wp-config.php, making the log URL unguessable from the outside.

Is this safe to run on a multisite installation?

Most modules work correctly on multisite. The Recovery Mode feature has known limitations related to WordPress core multisite behaviour — use with caution and test on staging first.

Does the plugin send data to any external service?

No data is sent to any third-party service by the plugin itself. The Google PageSpeed integration only fires when you explicitly click "Run PageSpeed Analysis" and requires you to supply your own Google API key. Slack and Telegram are opt-in notification channels for Recovery Mode.

How do I use the Google PageSpeed integration?

Go to Settings and enter your Google PageSpeed Insights API key (free from Google Cloud Console). You can then analyse any URL from Performance → PageSpeed or from the Performance → URLs tab.

What does the Security Scanner check?

It runs 32+ automated checks including: PHP version currency, WordPress core version, SSL certificate validity, WP_DEBUG exposure, file permissions, database table prefix security, XML-RPC status, login URL predictability, autoloaded options size, active plugin bloat, caching configuration, gzip compression, lazy loading, image optimisation, cron health, and more. Each check is scored and colour-coded with a recommended action.

How does the PHP Fatal Error Tracker differ from the Error Log?

The Error Log module reads your flat PHP error log file. The Fatal Error Tracker stores fatal errors in a dedicated database table that persists across log rotations and file truncations. Use both in combination: the log for real-time detail, the tracker for long-term history. It will capture / store PHP errors even if WP_DEBUG is disabled, this way you will always be aware if something is wrong.

Can I capture and inspect specific WordPress hooks?

Yes. Go to Hooks Monitor and add a new monitoring rule specifying the hook name (action or filter). From that point on, every invocation is recorded with its arguments, return value, and full PHP backtrace. Rules can be grouped, toggled, and removed without any code changes.

How do I use Code Snippets?

Go to Snippets, create a new snippet, write valid PHP, and save. You can run it immediately, schedule it, or embed it as a shortcode. Snippets are sandboxed before execution — a safety check blocks known dangerous patterns. Use that feature with caution - if malformed or bad code is provided, it can break the site. Always test on non-production site first.

Can I track which plugins make external HTTP calls?

Yes. The Outgoing Requests Viewer logs all wp_remote_* calls site-wide. Each record shows the requesting plugin, URL, HTTP method, response code, and response time. This makes it easy to identify chatty plugins, unexpected external calls, or slow API responses.

How do I recover a site that is throwing fatal errors and is inaccessible?

Use the Recovery Mode. Before the site breaks, generate a recovery link in Settings → Recovery Mode and deliver it to yourself via Slack, or Telegram. The link temporarily disables all the plugins, except 0-day-analytics so you can investigate what went wrong via a single-use token, allowing you to get back in.

更新日志:

4.9.0 4.8.0 4.7.0 4.6.0 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 4.3.1 4.3.0 4.2.1 4.2.0 4.1.1 4.1.0 4.0.0 Earlier versions