Guide · Last updated: 2026-11-28
PrestaShop error tracking: a module for bug reports and PHP errors
The bugd.one module for PrestaShop 8 and 9: report button, JavaScript errors, failed shop requests, PHP errors and log entries from payment modules.
Language: Deutsch
In PrestaShop, payment and shipping modules rarely fail loudly; they write their problems to the log. And when “Add to cart” fails with a server error, only the customer sees it. The bugd.one module brings these errors to your dashboard, identifies the affected module and lets shoppers report problems themselves.
Prerequisites
- PrestaShop 8 or 9, PHP 7.4 or newer.
- A bugd.one account: new accounts try all Pro features free for 7 days, then Pro (€9.90) or Team (€29.90) per month (incl. VAT). Without an active plan bugd.one accepts no new reports or crashes.
- A project with its project key (
bk_live_…) from Project → Settings, plus the server key (bk_server_…) for PHP errors. - The module: bugdone-prestashop.zip.
Step by step
Step 1: Upload the module
In the PrestaShop admin open Modules → Module Manager → Upload a module and select the ZIP. Then open Configure on the module.
Step 2: Set the project key and features
In the bugd.one section, enter the project key and choose the features:
| Setting | Meaning |
|---|---|
| Project key | bk_live_…. Without a valid key the module outputs nothing. |
| Show the report button | Default yes. Error tracking also works without the button. |
| Capture JavaScript errors | Default no. Loads the crash reporter on every shop page. |
| Also report failed shop requests | Default yes, only together with JavaScript errors: server errors (5xx) and network errors of requests to your shop, e.g. adding to cart. |
| Environment | production for the live shop. Only production triggers e-mails, webhooks and chat messages. |
Under Report button (advanced) you set button style, position and primary color. The module sets the report form's language and the version (e.g. PrestaShop 9.0.2) automatically. Save the settings.

Step 3: Turn on PHP errors
In the PHP errors (server) section, turn on “Report PHP errors” and enter the server key. Optionally “Also report warnings” adds PHP warnings and notices and log entries of severity “warning” – this can be noisy. Save.
Step 4: Test the connection
The Test connection panel shows whether a server key is saved and whether “Report PHP errors” is on. Click “Send PHP test error”. The test error appears in bugd.one under Crashes (filter: development) and triggers no notifications. If your bugd.one project keeps a list of allowed domains, add your shop's domain there.
What is captured
| Source | What is reported | Needs |
|---|---|---|
| Browser | uncaught JavaScript errors, scripts and stylesheets that fail to load | project key |
| Shop requests | server errors (5xx) and network errors with method, path without parameters and status code | project key |
| PHP | uncaught exceptions and fatal errors, optionally warnings | server key |
| PrestaShop log | entries of severity “error” and above, e.g. from payment and shipping modules, optionally from “warning” | server key |
For PHP errors and log entries the module identifies the affected module. Sent are the error message and type, the stack with paths relative to the shop folder and without arguments, the page path without parameters, the request type and the PHP and PrestaShop versions. For log entries only the message, severity and object type.

Environments
Choose production for the live shop. Local hosts (localhost, *.local, *.test, private IPs) are reported as development automatically. Reports from non-production environments appear in the dashboard marked DEV but trigger no notifications.
Privacy
As the shop operator you are the controller; bugd.one (Mignuti Media) processes the data on your behalf. Mention bugd.one in your privacy policy and conclude the data processing agreement.
- Report button (only when a shopper submits): text, optional screenshot (password and payment fields blacked out), name and e-mail address only with consent, page address without parameters, browser and operating system, recent console errors and failed requests (e-mail addresses, tokens and parameters removed).
- JavaScript errors (for all visitors, when enabled): error message, stack trace, page address without parameters, browser and operating system, shop version and the last steps before the error (pages visited, an identifier of clicked controls without text or input, failed requests without parameters, console error and warning messages); for failed requests method, path without parameters and status code. Nothing is sent without an error.
- PHP errors (from the server, when enabled): as described above. E-mail addresses, tokens and passwords in messages are replaced first.
- Not transmitted: customer data from the shop (no customer number, name, e-mail address or cart), cookies, form input, IP addresses.
The data is stored with Cloudflare under EU jurisdiction.
Page speed
The crash reporter (about 9 KB compressed) loads with defer and never blocks rendering; errors before it starts are buffered by a small inline script. The report button (about 45 KB compressed) is loaded only after the page has finished loading. The server sends PHP errors after the response to the visitor, for at most 2 seconds; the same error at most every 5 minutes, at most 30 reports per 10 minutes.
Troubleshooting
- The report button covers another button (chat, callback, cookie settings): in the plugin settings, right below the position, raise the distance from bottom (“Bottom offset” in some plugins), e.g. to 90 – the button then sits above the other one. Or change the side distance, or move it to the left. Empty = 16 px.
- “The project key is invalid” when saving: the key must start with
bk_live_. The server key (bk_server_…) belongs only in the “Server key” field. - No button visible: check the key and “Show the report button” and search the page source for
widget.umd.js. Ad blockers can block bugd.one. - HTTP 403 `origin_not_allowed`: add your shop domain in bugd.one under Project → Settings → Allowed domains.
- HTTP 403 `project_read_only`: the trial has ended; choose a plan.
- Test error doesn't arrive: the Test connection panel says “missing or invalid” – enter the server key again and save.
- Content Security Policy: allow
https://bugd.oneinscript-srcandconnect-src. The module uses small inline scripts (starting the crash reporter, loading the report button).
Going further
- PrestaShop in the documentation
- JavaScript error tracking in the browser: crash reporter options
- Shopware 6 error tracking and JTL-Shop 5 error tracking
Frequently asked questions
- Do I need the server key?
- Only for PHP errors and entries from the PrestaShop log. The report button, JavaScript errors and failed shop requests run with the public project key (
bk_live_…). The server key is secret and never appears in the page source. - Why should log entries be reported?
- Payment and shipping modules often don't throw a PHP error when something goes wrong; they write an entry to the PrestaShop log. With “Report PHP errors” on, entries of severity “error” and above land in bugd.one, together with the module that wrote them.
- Does error tracking work without a visible report button?
- Yes. “Show the report button” only affects the button for shoppers. JavaScript and PHP errors are still reported when you turn the button off.
- Is customer data transmitted?
- No. No customer number, no name, no e-mail address, no cart, no cookies, no form input and no IP addresses. For log entries only the message, severity and object type are sent.
- How do I remove the saved server key?
- In the module configuration, section PHP errors (server), turn on “Remove the saved server key” and save. If you leave the “Server key” field empty when saving, the saved key is kept.
Related guides
- Shopware 6 error tracking: bug reports and PHP errors with bugd.one — The bugd.one plugin for Shopware 6.5, 6.6 and 6.7: report button, JavaScript errors, failed shop requests and PHP errors from storefront, APIs and queue.
- JTL-Shop 5 error tracking: PHP errors, JTL log and bug reports — The bugd.one plugin for JTL-Shop 5: report button, JavaScript errors, failed io.php requests, PHP errors and JTL log entries delivered to your dashboard.
- 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.
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.