# Cookie Consent Tool führt zu Fehler unter 5.6.1

**URL:** <https://forum.shopware.com/t/cookie-consent-tool-fuhrt-zu-fehler-unter-5-6-1/67691>\
**Category:** Allgemein\
**Created:** [16. Juni 2020 um 06:59 UTC](https://forum.shopware.com/t/cookie-consent-tool-fuhrt-zu-fehler-unter-5-6-1/67691 "2020-06-16T06:59:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![compragmbh](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@compragmbh](https://forum.shopware.com/u/compragmbh)\
**Post date:** [16. Juni 2020 um 06:59 UTC](https://forum.shopware.com/t/cookie-consent-tool-fuhrt-zu-fehler-unter-5-6-1/67691/1 "2020-06-16T06:59:20Z")

</div>

Hallo Zusammen,

Für einen Kunden wollten wir das kostenlose Cookie Consent Plugin für Shopware \< 5.6.3 installieren.

Der Kunde verwendet Shopware 5.6.1 - das Plugin führt nach Installieren und Aktivieren des Cookie Hinweises zu einer weißen Seite im Shop.

**Fehlermeldung:**

```
Fatal error: Uncaught TypeError: Argument 1 passed to Shopware\Bundle\CookieBundle\Services\CookieHandler::__construct() must be an instance of Shopware\Bundle\CookieBundle\CookieGroupCollection, instance of Shopware\Bundle\CookieBundle\Services\CookieCollector given, called in /var/www/clients/client55/web268/web/staging/var/cache/production_201908270823/proxies/ShopwareProduction8ebd235c40b04418318a164ec290ff3d1a670dc5ProjectContainer.php on line 6667 and defined in /var/www/clients/client55/web268/web/staging/engine/Shopware/Bundle/CookieBundle/Services/CookieHandler.php:40 Stack trace: #0 /var/www/clients/client55/web268/web/staging/var/cache/production_201908270823/proxies/ShopwareProduction8ebd235c40b04418318a164ec290ff3d1a670dc5ProjectContainer.php(6667): Shopware\Bundle\CookieBundle\Services\CookieHandler->__construct(Object(Shopware\Bundle\CookieBundle\Services\CookieCollector)) #1 /var/www/clients/client55/web268/web/staging/vendor/symfony/dependency-injection/Container.php(306): ShopwareProduction8ebd235c40b044 in /var/www/clients/client55/web268/web/staging/engine/Shopware/Bundle/CookieBundle/Services/CookieHandler.php on line 40

```

&nbsp;

**Jemand seitens Shopware eine Idee oder Lösung? Oder jemand anderes vielleicht?**

**Das leeren des Caches sogar per FTP des kompletten Cache Ordners hat nicht geholfen.**

Viele Grüße

Dennis
