DockRay
Reports PHP errors, uncaught exceptions and request timings from WordPress to the DockRay monitoring panel.
Solid choice
DockRay is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 7 days ago, and scores 64/100 on our health check.
- Actively developed — last update 7 days ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where DockRay stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| debugging | >100 |
| error tracking | >100 |
| logging | >100 |
| monitoring | >100 |
| performance | >100 |
About DockRay
From the official readme · v1.1.0Description
DockRay requires an account and a project at https://dockray.io (a free plan
and paid service plans are available). The plugin itself is free.
DockRay sends PHP errors and uncaught exceptions from your WordPress site to a
DockRay project, together with the stack trace, the environment and — when you
allow it — the logged-in user. It can also measure how long requests take.
Features:
- Automatic reporting of PHP errors and uncaught exceptions
- Optional request timing, including admin-ajax actions and WP-CLI commands
- Optional user context
- Error filtering by PHP error type
- Optional vulnerability checks: the versions of WordPress, PHP, plugins and
themes are matched against DockRay’s vulnerability database, with the
findings shown on the settings screen and next to affected plugins - A settings screen at Settings → DockRay, with a live connection
status and a one-click test event — no wp-config.php editing required - Configuration can also come from
wp-config.phpconstants, per field or
entirely, for teams that prefer to keep the private key out of the database - Translation-ready through translate.wordpress.org
Fill in the token and the private key on Settings → DockRay and you are
done. If you would rather keep the private key out of the database — a
database dump travels between environments more often than a config file
does — define it as a wp-config.php constant instead; the settings screen
shows exactly which fields are currently coming from a constant, and a
Configuration source switch lets you pin the plugin to constants only,
to the database only, or let a defined constant win per field (the default,
and how the plugin behaved before this screen existed).
Configuration
Every setting below has a field on Settings → DockRay. Each one can also
be set as a wp-config.php constant — go there above the /* That's all */
line — and the Configuration source switch on the screen decides whether
a constant is allowed to win, is required, or is ignored in favour of the
database.
Error types — which PHP errors become events. Defaults to everything except
deprecations and notices. This one is constant-only; there is no equivalent
field on the settings screen, since it is a bitmask rather than a value worth
typing into a text box.
define( 'DOCK_RAY_ERROR_TYPES', E_ALL & ~E_DEPRECATED & ~E_NOTICE );
Personal data — attaches the user id, e-mail, IP address and user agent.
Off by default.
define( 'DOCK_RAY_SEND_DEFAULT_PII', true );
Release — the version of the site. Without it the active theme version is
used.
define( 'DOCK_RAY_VERSION', 'v1.4.0' );
Environment — defaults to WP_ENVIRONMENT_TYPE.
define( 'DOCK_RAY_ENV', 'production' );
Request timing — the share of requests that are measured, from 0 to 1.
Zero, the default, disables it.
define( 'DOCK_RAY_TRACES_SAMPLE_RATE', 0.2 );
Vulnerability checks — periodically sends the versions of WordPress, PHP
and the installed plugins and themes, so DockRay can flag known
vulnerabilities. Off by default.
define( 'DOCK_RAY_INVENTORY', true );<h3>Filters</h3>
dock_ray_token, `dock_ray_private_key` — override the
credentials, for instance to read them from a secrets manager.
dock_ray_user_context — change the user data attached to events.
add_filter( 'dock_ray_user_context', fn( array $user ) => array_merge( $user, [ 'plan' => 'pro' ] ) );
dock_ray_scope — set tags and extra context before events are sent.
add_filter( 'dock_ray_scope', function ( $scope ) { $scope->setTag( 'tier', 'gold' ); return $scope; } );
dock_ray_options — adjust SDK options after the client is built.
dock_ray_client_builder — an action that receives the client builder before
the client is created.
Reporting your own exceptions
if ( function_exists( 'dock_ray_safe' ) ) {
dock_ray_safe( fn( $hub ) => $hub->captureException( $exception ) );
}
The callback runs only when the plugin is configured, so the calling code does
not have to check.
External services
This plugin sends data to DockRay (https://dockray.io), the monitoring service
it is a client for. Nothing is sent until you enter a project token and a
private key on Settings → DockRay or configure those credentials through
wp-config.php constants or plugin filters: without credentials the plugin loads
and stays silent.
What is sent, and when:
- PHP errors and uncaught exceptions, as they happen — the message, the
error type, the stack trace with the surrounding source lines, the file and
line, the site URL, the environment and release, the WordPress version and
the site language. - Request timings, when the transaction sample rate is above zero — the
request path, the HTTP method and the response status. WP-Cron runs
(includingwp cronand Action Scheduler queue runners) are not timed: they
are the site’s own background work rather than visitor traffic, so their
duration says nothing about how fast the site is. Errors raised
inside a scheduled task are still reported. Off by default. - JavaScript errors, when that switch is on — the message, the script URL
and the stack trace, forwarded by this site rather than sent from the
browser. Off by default. - The logged-in user and the visitor IP address, only when Send user identity, IP
address and user agent is on. Off by default. - A test event, when you click Send a test event on the settings screen.
- Software versions, only when Send software versions for vulnerability
checks is on — the WordPress and PHP versions, the slug, name, version,
active state and available update of every installed plugin (must-use
plugins included) and theme, the site address and the plugin version.
Sent about twice a day (DockRay may ask for a different interval, between
one hour and seven days) and about a minute after plugins, themes or
WordPress itself are installed, updated, activated, deactivated or removed,
always from WP-Cron in the background, and when you click Send now. No
file paths, users, e-mail addresses or configuration values are included.
Off by default.
Everything is sent to DockRay at https://dockray.io.
Request bodies, cookies, request headers, URL query strings and fragments,
and stack frame argument values are removed before delivery. Error messages,
source code context, file paths and custom context may still contain personal
or sensitive information supplied by your application. Review what your
application logs and inform your visitors before enabling monitoring.
Browser reports also include the page and referrer URLs without query strings
or fragments. Normal reports are queued until shutdown; the manual test waits
for an acknowledgement. The service receives the IP of the sending server.
Service terms: https://dockray.io/pl/regulamin
Privacy policy: https://dockray.io/privacy-policy
Installation
Requires PHP 8.2 or newer with the mbstring extension enabled.
- Upload the plugin to
/wp-content/plugins/dockray, or install it from the
plugins screen. - Activate it through the Plugins menu — its row gets a Settings
link straight to the next step, so there is nothing to hunt for. - Open Settings → DockRay, paste in your project token and private key,
and save. - Click Send a test event to confirm it reached the panel.
Both values come from the project screen in the DockRay panel. The token is
public and appears in the ingest URL; the private key is a secret shown once,
when it is generated.
Prefer wp-config.php instead? Add the constants below and the settings
screen will show the fields as coming from wp-config.php automatically —
nothing else to configure.
define( 'DOCK_RAY_TOKEN', 'YOUR_PROJECT_TOKEN' );
define( 'DOCK_RAY_PRIVATE_KEY', 'YOUR_PRIVATE_KEY' );
Frequently asked questions
Does the plugin have a settings screen?
Yes — Settings → DockRay. It shows a live configuration status, the result of the last test event, and lets you edit every setting without touching wp-config.php. Anything already defined as a constant keeps working; the screen shows exactly which fields that applies to.
Will it slow down my site?
Request timing is off by default. When it is on, the transaction is sent after the response has been handed to the browser, so the visitor does not wait for it.
What happens if the site cannot reach DockRay?
Nothing visible. The request continues; with WP_DEBUG on, a failure to start is written to the PHP error log.
Which languages does it speak?
The interface is in English and ready for community translations through https://translate.wordpress.org/projects/wp-plugins/dockray/.
Changelog
1.1.0
- Added: opt-in vulnerability checks. The plugin can send the versions of WordPress, PHP, plugins and themes to DockRay, shows the last report on the settings screen and warns next to vulnerable plugins on the Plugins screen.
- Added: the plugin’s options and scheduled events are removed when it is deleted.
1.0.3
- Fixed: scheduled tasks run through WP-CLI (
wp cron event run), ALTERNATE_WP_CRON and Action Scheduler queue runners no longer send request timings.
1.0.2
- Disabled transactions for cron.
1.0.1
- Improved namespace.
1.0.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best DockRay alternatives
All debugging plugins →FAQ
DockRay: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 18, 2026
Is DockRay free?
Yes. DockRay is free to download and use from the official WordPress.org plugin directory.
Is DockRay safe to use in 2026?
DockRay is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 7 days ago, and scores 64/100 on our health check.
How many websites use DockRay?
DockRay is active on <10 WordPress websites and has been downloaded 348 times since it launched in September 2026. It was downloaded 198 times in the last 30 days.
Does DockRay work with WordPress 7.1?
Yes. The developer has tested DockRay up to WordPress 7.1.3, the latest release. It requires WordPress 6.0 or newer.
What PHP version does DockRay need?
DockRay requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was DockRay last updated?
The latest version, 1.1.0, was released on October 12, 2026 (7 days ago).
Who makes DockRay?
DockRay is developed and maintained by Jacek Sultan.
What are the best alternatives to DockRay?
The most popular alternatives to DockRay are Freesoul Deactivate Plugins (8K+ installs), Fatal Error Notify (6K+ installs) and Debug Log Manager Tool (3K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card


