Guide · Last updated: 2026-11-22
Bug reports and error tracking for WordPress with bugd.one
The bugd.one plugin for WordPress: a bug report button for visitors, PHP and JavaScript errors delivered to your dashboard — setup, environments, privacy.
Language: Deutsch
On WordPress sites errors happen in two places: in the browser (a button that does nothing, a broken layout) and on the server (a plugin update that causes a fatal PHP error). Visitors rarely report either, and nobody checks the debug log regularly. The bugd.one plugin collects both in one place.
Prerequisites
- WordPress 6.0 or newer and PHP 7.4 or newer.
- A bugd.one account (7-day free trial). You can create the project while connecting.
- The plugin as a ZIP: bugdone-wordpress.zip. Once it is listed in the WordPress plugin directory, you install it directly under Plugins → Add New.
Step by step
Step 1: Install the plugin
Download the ZIP and install it under Plugins → Add New → Upload Plugin, then activate it. As long as you have not entered keys it does nothing and loads nothing.
Step 2: Connect with bugd.one
Open Settings → bugd.one and click "Connect with bugd.one". You are taken to bugd.one, sign in (or sign up), pick a project or create a new one and confirm. Tick "Capture PHP errors" to also create a server key. Back in WordPress, the publishable key and, if chosen, the server key are stored, and if your project keeps a list of allowed domains, your site is already on it. If the project already has a server key, a new one replaces it — bugd.one warns you first. If you use a caching plugin, clear its cache afterwards.
By hand: In bugd.one under Project → Settings you find the publishable key (bk_live_…) and the server key (bk_server_…); enter both under Settings → bugd.one. The server key is displayed masked; leaving the field empty keeps the stored key, a checkbox removes it. The server key is a secret and never appears in the page source. The publishable key, in contrast, is meant to be public and appears in the source as soon as the widget or JavaScript capture is active.
Step 3: Configure the widget
You can switch the bug report widget on or off, choose position (bottom right or left), color and button text, and decide who sees it: everyone, logged-in users or administrators only. The privacy link in the form automatically points to the privacy policy page set in WordPress. If you use a page-caching plugin, exclude logged-in users from the cache when the widget must not be visible to everyone.
Step 4: Configure error tracking
Under Error tracking you choose:
- PHP errors: fatal errors and uncaught exceptions (default: on). Optionally warnings and notices as well — this can generate many reports.
- JavaScript errors: loads the bugd.one crash reporter for all visitors (default: off). Mention it in your privacy policy; under Settings → Privacy → Policy Guide you find a suggested text.
- Environment: "Automatic" uses
wp_get_environment_type().productionstaysproduction;staging,developmentandlocalare reported asdevelopment. Only production events trigger e-mails, webhooks and chat messages. - Release: by default the site name and WordPress version; you can set your own value.
Step 5: Send a test error
Save the settings and click "Send test error". The plugin sends a sample crash (environment development, so no notification) and shows the result. In the dashboard it appears after a few seconds under Crashes with the origin PHP server / WordPress.
What is sent for a PHP error
| Field | Content |
|---|---|
| Message and type | cleaned error message and the exception class or PHP error type, e.g. E_ERROR |
| Stack trace | frames like #0 wp-content/plugins/my-plugin/file.php(123): function(), paths relative to the WordPress folder, without arguments |
| Page | address without query string and fragment, request method |
| Context | PHP and WordPress version, active theme, the plugin the error occurred in, whether it was an admin request |
| Release, environment | from the settings |
bugd.one groups identical errors by a fingerprint; line numbers that shift after an update do not split the group. The plugin never changes how WordPress or PHP handle errors: previously registered handlers are still called.
Limits and notes
Going further
With the bug report button right on the page you learn about problems that no log shows. If you want to embed the button without WordPress, see the guide on the bug report button; for PHP errors outside WordPress you send them with the server key via the REST API to POST /api/v1/crashes with platform: "php".
Frequently asked questions
- Do I need both keys?
- No. The publishable key (
bk_live_…) is enough for the bug report button and JavaScript error capture. You only need the server key (bk_server_…) if PHP errors from your server should be reported as well. - Where is the server key stored, and is it safe?
- In the WordPress database (
wp_optionstable), like other plugin settings. It is never printed in the page source and is masked in the form. Anyone with administrator rights or database access can read it, so use a separate project per website and rotate the key if you suspect a leak. - Will the plugin slow down my site?
- On a normal page view it only registers error handlers. Something is sent only when an error occurs, with a 2-second timeout. The same error is reported at most once every 5 minutes, and at most 30 reports are sent per 10 minutes.
- Are cookies, form data or IP addresses sent?
- Not with PHP errors: no cookies, no POST data, no query strings, no IP addresses. E-mail addresses, tokens and secrets in error messages are replaced before sending, and file paths are shortened to be relative to the WordPress folder.
- Is the plugin in the WordPress plugin directory?
- The listing is being prepared. Until then you download the plugin as a ZIP from bugd.one and install it via Plugins → Add New → Upload Plugin.
Related guides
- Add a bug report button to your website — Embed a feedback widget with screenshots, annotation and “My reports” via one script tag — options, environments, privacy link and self-hosting via ZIP.
- JavaScript error tracking in the browser — Capture uncaught errors and unhandled promise rejections in the browser: crash reporter via script tag (ESM/UMD), releases and source-map upload with curl.
- Send bug reports from your own app via REST API — Your own report form, bugd.one as the backend: send reports via POST, store the reporter token, fetch status and replies, badge counts via status batch.
Up and running in two minutes
Create an account, add a project, paste your key — all Pro features free for 7 days, no credit card required.