# Cache-Einstellungen speichern

**URL:** <https://forum.shopware.com/t/cache-einstellungen-speichern/33528>\
**Category:** Administration\
**Created:** [12. Januar 2016 um 16:32 UTC](https://forum.shopware.com/t/cache-einstellungen-speichern/33528 "2016-01-12T16:32:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![illustratics](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/illustratics/32/12862_2.png) [@illustratics](https://forum.shopware.com/u/illustratics)\
**Post date:** [12. Januar 2016 um 16:32 UTC](https://forum.shopware.com/t/cache-einstellungen-speichern/33528/1 "2016-01-12T16:32:41Z")

</div>

Hi, beim Speichern der Cache-Einstellungen kommt immer die Meldung: `[2016-01-12 15:05:42] core.ERROR: exception 'Doctrine\DBAL\Types\ConversionException' with message 'Could not convert database value "s:334:"frontend/list..." to Doctrine Type object' in /shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php:46 Stack trace: #0 /shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ObjectType.php(59): Doctrine\DBAL\Types\ConversionException::conversionFailed('s:334:"frontend...', 'object') #1 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(128): Doctrine\DBAL\Types\ObjectType-\>convertToPHPValue('s:334:"frontend...', Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(69): Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator-\>hydrateRowData(Array, Array) #3 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(147): Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator-\>hydrateAllData() #4 /shopware/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(750): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #5 /shopware/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(196): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>load(Array, NULL, NULL, Array, NULL, 1, NULL) #6 /shopware/engine/Shopware/Controllers/Backend/Performance.php(398): Doctrine\ORM\EntityRepository-\>findOneBy(Array) #7 /shopware/engine/Shopware/Controllers/Backend/Performance.php(226): Shopware\_Controllers\_Backend\_Performance-\>saveConfig('cacheController...', '') #8 /shopware/engine/Shopware/Controllers/Backend/Performance.php(204): Shopware\_Controllers\_Backend\_Performance-\>saveConfigData(Array) #9 /shopware/engine/Library/Enlight/Controller/Action.php(158): Shopware\_Controllers\_Backend\_Performance-\>saveConfigAction() #10 /shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('saveConfigActio...') #11 /shopware/engine/Library/Enlight/Controller/Front.php(227): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 /shopware/engine/Shopware/Kernel.php(148): Enlight\_Controller\_Front-\>dispatch() #13 /shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #15 /shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #16 /shopware/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #17 /shopware/shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #18 {main} [] {"uid":"2de8b1f"}` Scheint ja mit dem Element cacheControllers in der s\_core\_config\_elements zusammenzuhängen? Wenn man den Wert in Value löscht und dann Shopware neu lädt und die Einstellungen speichert steht hier wieder `s:334:"frontend/listing 3600frontend/index 3600frontend/detail 3600frontend/campaign 14400widgets/listing 14400frontend/custom 14400frontend/sitemap 14400frontend/blog 14400widgets/index 3600widgets/checkout 3600widgets/compare 3600widgets/emotion 14400widgets/recommendation 14400widgets/lastArticles 3600widgets/campaign 3600";` drin. Der gleiche Wert steht aber auch in anderen Shops und da geht es problemlos. Hat das Problem schon einmal jemand gehabt oder kennt eine Lösung? Danke schon mal.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [12. Januar 2016 um 19:09 UTC](https://forum.shopware.com/t/cache-einstellungen-speichern/33528/2 "2016-01-12T19:09:00Z")

</div>

Hallo, sieht mir danach aus, als fehlt ein Config-Element in der Datenbank. Wenn du SW5 hast, könntest du mal das HTTP-Cache Plugin neu installieren, vielleicht hilft das schon. Du kannst dafür die getCapabilities auf true setzen, dann erscheint das Plugin wieder im Plugin-Manager und du kannst einen Reinstall ausführen: [https://github.com/shopware/shopware/bl … p.php#L151](https://github.com/shopware/shopware/blob/5.1/engine/Shopware/Plugins/Default/Core/HttpCache/Bootstrap.php#L151) Dann sollten auch die Elemente wieder angelegt werden. Vielleicht hilft das ja schon. Moritz

---

<div class="post-metadata">

**Author:** ![illustratics](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/illustratics/32/12862_2.png) [@illustratics](https://forum.shopware.com/u/illustratics)\
**Post date:** [12. Januar 2016 um 23:17 UTC](https://forum.shopware.com/t/cache-einstellungen-speichern/33528/3 "2016-01-12T23:17:52Z")

</div>

Super danke, hat geklappt

---

<div class="post-metadata">

**Author:** ![hec](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@hec](https://forum.shopware.com/u/hec)\
**Post date:** [28. November 2016 um 15:20 UTC](https://forum.shopware.com/t/cache-einstellungen-speichern/33528/4 "2016-11-28T15:20:04Z")

</div>

Ich hatte dasselbe Problem - bei mir hat eine Neu-Installation des Cache-Plugins nichts gebracht.

Ursache in meinem Fall war ein fehlerhafter JSON-String, der ans Backend gesendet wurde. Der enthaltene Fehler wurde dadurch verursacht, dass bei der vorhandenen Shop-Installation noch kein Such-Index aufgebaut war. Nachdem ich diesen aufgebaut habe, klappt es nun auch mit dem Speichern.
