---
title: "JTL-Shop 5 error tracking: PHP errors, JTL log and bug reports — bugd.one"
description: "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."
url: https://bugd.one/guides/jtl-shop-error-tracking?lang=en
language: en
updated: 2026-11-26
type: guide
author: Eduard Ditler
alternate_de: https://bugd.one/guides/jtl-shop-error-tracking
alternate_en: https://bugd.one/guides/jtl-shop-error-tracking?lang=en
---
Guide · Last updated: 2026-11-26

# 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.

Language: [Deutsch](https://bugd.one/guides/jtl-shop-error-tracking)

> **In short**
>
> - The **bugdone - Bug-Reports und Fehler-Tracking** plugin for **JTL-Shop 5** adds a report button to the storefront and optionally captures **JavaScript errors**, **failed shop requests** (e.g. `io.php` for cart and wish list), **PHP errors** and **JTL log entries of level “error” and above**.
> - Install the ZIP in the **Plugin-Manager**; the settings are under **Plugins → bugdone - Bug-Reports und Fehler-Tracking**. Clear the object and template cache afterwards.
> - The **“Verbindung testen”** (test connection) tab sends a PHP test error and shows whether the server key works.
> - No customer data, no cookies; the crash reporter loads with `defer`, the report button only after the page has loaded.

In JTL-Shop many errors fail quietly: a payment method only writes to the log book, a JTL-Wawi sync aborts at night, a click on “Add to cart” ends in an `io.php` request with `503`. The bugd.one plugin reports these errors to your dashboard and lets customers report problems themselves. The JTL admin is German, so the labels below are quoted in German.

## Prerequisites

- **JTL-Shop 5.x** (NOVA and child templates), PHP 7.4 or newer.
- A bugd.one account: new accounts try all Pro features free for 7 days, no credit card required. After that Pro (€9.90) or Team (€29.90) per month (incl. VAT); without an active plan the project is read-only and bugd.one accepts no new reports or crashes.
- A project for your shop with its **project key** (`bk_live_…`) from **Project → Settings**. For PHP errors also the **server key** (`bk_server_…`).
- The plugin: [bugdone-jtl.zip](https://bugd.one/downloads/bugdone-jtl.zip).

## Step by step

### Step 1: Install the plugin

In the shop admin open **Plugins → Plugin-Manager → Upload**, upload the ZIP, then install and activate the plugin. Alternatively copy the `MignutiBugdone` folder to `plugins/` via FTP and install it in the Plugin-Manager under **Verfügbar** (available).

### Step 2: Fill in the settings

Under **Plugins → bugdone - Bug-Reports und Fehler-Tracking → Einstellungen**:

| Setting | Meaning |
| --- | --- |
| **Projekt-Key** | `bk_live_…`, required. Without a valid key the plugin outputs nothing. |
| **Meldeknopf anzeigen** (show report button) | Default yes. |
| **JavaScript-Fehler erfassen** (capture JavaScript errors) | Default no. With yes the crash reporter loads on every page. |
| **Auch fehlgeschlagene Shop-Anfragen melden** (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. `io.php` for cart and wish list. |
| **Umgebung** (environment) | production for the live shop (default), staging or development for test systems. |
| **Knopf-Stil, Knopf-Position, Primärfarbe** | How the report button looks. |
| **PHP-Fehler melden** (report PHP errors) | Default no. Needs the server key. |
| **Server-Key** | `bk_server_…`, secret, never appears in the page source. |
| **Auch PHP-Warnungen und -Hinweise melden** | Default no. Can create many reports. |

Language, version (e.g. `JTL-Shop 5.4.1`) and the link to your shop's privacy page are set automatically.

### Step 3: Clear the cache

Right after saving, go to **System → Cache → Verwaltung** and clear the **entire object cache** and the **entire template cache**. Otherwise the storefront doesn't show the change. Reload the storefront; the button appears bottom right or left.

### Step 4: Test the connection

Open the plugin's **“Verbindung testen”** tab. It shows whether a server key is saved and whether “PHP-Fehler melden” is on. Clicking **“PHP-Testfehler senden”** sends a test error to bugd.one; on success you see “Testfehler gesendet (Umgebung: development – keine Benachrichtigungen)”. If “PHP-Fehler melden” is still off, the message says so.

![JTL-Shop admin: the bugd.one plugin’s “Test connection” tab with a PHP test error sent successfully](https://bugd.one/screenshots/plugin-jtl-test.webp)
*JTL-Shop: one click checks the server key and sends a PHP test error – without notifications.*

The test error appears in bugd.one under **Crashes** (filter: development). Test the report button and JavaScript errors in the storefront: send a test report (it appears under **Bugs**) or run `setTimeout(function () { throw new Error('bugd.one Test ' + Date.now()) })` in the browser console.

## What is captured

| Source | What is reported | Needs |
| --- | --- | --- |
| Browser | uncaught JavaScript errors with the last steps before them, scripts and stylesheets that fail to load | project key |
| Shop requests | server errors (5xx) and network errors; for `io.php` with the shop step, e.g. `POST /io.php?io=pushToBasket → 503` | project key |
| PHP | uncaught exceptions (before the shop's error handling, which then runs unchanged) and fatal errors, including “Allowed memory size exhausted” | server key |
| JTL log | entries of level “error” and above (Admin → System → Logbuch), e.g. from payment methods, shipping plugins or the Wawi sync | server key |
| optional | PHP warnings and notices | server key |

The plugin captures PHP errors and log entries wherever JTL starts plugins: storefront, `io.php`, admin, cron and the Wawi sync. Placeholders such as `{order}` in log entries are filled in; if an entry carries an exception, it is reported with its stack. Every report names the affected plugin.

![Crash detail with origin (app, environment, version, device, page) and key figures](https://bugd.one/screenshots/docs-crash-origin.webp)
*Crash detail: origin at a glance, plus occurrences, affected users, first seen and release.*

## Environments

Choose **production** for the live shop and **staging** or **development** for test systems. Local test hosts (`localhost`, `*.local`, `*.test`, private IPs) are reported as development automatically even with production. Reports from staging and development appear in the dashboard marked DEV but trigger no e-mails, webhooks or chat messages.

> **Test shops with a public name**
>
> A test shop under a public name that only points to a private IP (e.g. `shop.192.168.1.20.nip.io`) does not count as local. Set the environment to **development** by hand there.

## Privacy

As the shop operator you are the controller; bugd.one (Mignuti Media) processes the data on your behalf. Before activating the plugin, add bugd.one to your privacy policy (the README in the plugin has a suggested wording) and conclude the [data processing agreement](https://bugd.one/datenschutz/avv).

- **Report button** (only when a visitor submits): text, optional screenshots, name and e-mail address only with consent, page address without parameters, browser, operating system, recent console errors and failed requests (e-mail addresses, tokens and URL parameters removed first), environment and shop version. Photos and voice messages only if you enabled support or feedback for the project.
- **JavaScript errors** (for all visitors, when enabled): error message, stack trace, page address without parameters, browser, operating system, environment, shop version and the last steps before the error (clicked elements only as a technical selector without text or input).
- **PHP errors** (from the server): error message and type, stack with paths relative to the shop folder and without arguments, affected plugin, page path without parameters, request type, PHP and shop version, environment. From the JTL log only message, channel and level. E-mail addresses, tokens and passwords are replaced first.
- **Not transmitted:** customer data from the shop, cookies and form input.

The plugin sets no cookies. Only after a report is submitted does the widget store an access key in `localStorage`, so the visitor can see status and replies under “My reports”. The data is stored with Cloudflare under EU jurisdiction.

## Page speed

The crash reporter (about 9 KB compressed) loads with `defer`; 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, when the browser is idle. The server never sends PHP errors during the request but after the response to the visitor, for at most 2 seconds. The same error is reported at most every 5 minutes, at most 30 reports per 10 minutes and 5 per request (counters in `templates_c/bugdone/`). The plugin never throws and doesn't change the shop's error handling.

## 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.
- **No button visible:** clear the object and template cache, check the key and “Meldeknopf anzeigen”, search the page source for `widget.umd.js`. Ad blockers can block bugd.one.
- **HTTP 403 `invalid_api_key`:** wrong or rotated key, or one from another project.
- **HTTP 403 `origin_not_allowed`:** add your shop domain in bugd.one under **Project → Settings → Allowed domains**, if needed also the variant without `www`.
- **HTTP 403 `project_read_only`:** the trial has ended; choose a plan.
- **“Kein gültiger Server-Key” in the test tab:** enter the server key (`bk_server_…`) and save.
- **Content Security Policy:** allow `https://bugd.one` in `script-src`, `connect-src`, `img-src` and `media-src`; `script-src` must allow the plugin's small inline scripts. With bot protection also `https://challenges.cloudflare.com` in `script-src` and `frame-src`.

## Going further

- [JTL-Shop in the documentation](https://bugd.one/docs#jtl)
- [JavaScript error tracking in the browser](https://bugd.one/guides/javascript-error-tracking?lang=en): crash reporter options
- [Shopware 6 error tracking](https://bugd.one/guides/shopware-error-tracking?lang=en) and [WooCommerce error tracking](https://bugd.one/guides/woocommerce-error-tracking?lang=en)

## Frequently asked questions

**Why doesn't the report button appear after saving?**
Usually the cache. In the shop admin under **System → Cache → Verwaltung**, clear both the **entire object cache** and the **entire template cache**, then reload the storefront. Also check that the project key starts with `bk_live_` and “Meldeknopf anzeigen” is set to **Ja**.

**Do I need the server key?**
Only for PHP errors and JTL log entries. The report button, JavaScript errors and failed shop requests work with the public project key (`bk_live_…`). Enter the server key only in the “Server-Key” field; it never appears in the page source.

**What does “io.php?io=pushToBasket” in a crash mean?**
JTL-Shop sends many actions such as the cart and the wish list through `io.php`. From crash reporter 1.4.2 a failed request shows the shop step from the request body, e.g. `POST /io.php?io=pushToBasket → 503`. Only the step name is used, never the rest of the body.

**Is customer data transmitted?**
No. No customer number, no name, no e-mail address, no cart, no cookies and no form input. For JTL log entries only the message, channel and level are sent, not the rest of the context.

**Does the plugin work with my template?**
Yes, with NOVA and child templates. The scripts are inserted automatically without template changes: the crash reporter right after `<head>`, the report button before `</body>`. The plugin adds nothing to the shop admin, e-mails, newsletters or exports.

## Related guides

- [Shopware 6 error tracking: bug reports and PHP errors with bugd.one](https://bugd.one/guides/shopware-error-tracking?lang=en) — 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.
- [WooCommerce error tracking: catch checkout and payment errors automatically](https://bugd.one/guides/woocommerce-error-tracking?lang=en) — Failed cart and checkout requests, errors from payment and shipping plugins and PHP errors of your WooCommerce store, delivered to bugd.one automatically.
- [JavaScript error tracking in the browser](https://bugd.one/guides/javascript-error-tracking?lang=en) — 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.

[Try free for 7 days](https://bugd.one/login) · [Read the docs](https://bugd.one/docs) · [All guides](https://bugd.one/guides?lang=en)

---

bugd.one — https://bugd.one/guides/jtl-shop-error-tracking?lang=en · Overview for AI agents: [llms.txt](https://bugd.one/llms.txt) · API: [openapi.json](https://bugd.one/openapi.json)
