# Redis-Adapter-Problem nach Shopware 6 Update von 6.7.4 auf 6.4.8.1

**URL:** <https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031>\
**Category:** Shopware 6 (German)\
**Created:** [18. Februar 2022 um 15:30 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031 "2022-02-18T15:30:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan\_roemich\_mia3](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jan\_roemich\_mia3](https://forum.shopware.com/u/jan_roemich_mia3)\
**Post date:** [18. Februar 2022 um 15:30 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/1 "2022-02-18T15:30:33Z")

</div>

Hallo zusammen,

nach dem Update auf 6.4.8.1 (von 6.4.7.0) bekomme ich nur noch 500er zurückgeliefert. Nähere Information bringt mir das Cache-Leeren auf der Konsole:

`Argument 2 passed to Symfony\Component\Cache\Adapter\RedisAdapter::__construct() must be of the type string, object given, called in /var/www/clients/client1/web1/web/var/cache/prod_h06cdd92eb4a27289fd8cf655e6dc1637/ContainerQlldxY3/Shopware_Production_KernelProdContainer.php on line 26871`

In der gecachten Datei steht an der Stelle folgendes:

```auto
/*
     * Gets the private 'property_info.cache' shared service.
     *
     * @return \Symfony\Component\PropertyInfo\PropertyInfoCacheExtractor
     */
    protected function getPropertyInfo_CacheService()
    {
        $a = new \Symfony\Component\Cache\Adapter\RedisAdapter(new RewindableGenerator(function () {
            yield 0 => ($this->privates['property_info.serializer_extractor'] ?? $this->getPropertyInfo_SerializerExtractorService());
            yield 1 => ($this->privates['property_info.reflection_extractor'] ?? ($this->privates['property_info.reflection_extractor'] = new \Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor()));
        }, 2), new RewindableGenerator(function () {
            yield 0 => ($this->privates['property_info.reflection_extractor'] ?? ($this->privates['property_info.reflection_extractor'] = new \Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor()));
        }, 1), new RewindableGenerator(function () {
            return new \EmptyIterator();
        }, 0), new RewindableGenerator(function () {
            yield 0 => ($this->privates['property_info.reflection_extractor'] ?? ($this->privates['property_info.reflection_extractor'] = new \Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor()));
        }, 1), new RewindableGenerator(function () {
            yield 0 => ($this->privates['property_info.reflection_extractor'] ?? ($this->privates['property_info.reflection_extractor'] = new \Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor()));
        }, 1));
        $a->setLogger(($this->privates['monolog.logger.cache'] ?? $this->getMonolog_Logger_CacheService()));

        return $this->privates['property_info.cache'] = new \Symfony\Component\PropertyInfo\PropertyInfoCacheExtractor($a, ($this->privates['cache.property_info'] ?? $this->getCache_PropertyInfoService()));
    }

```

Hat hier jemand ähnliche Probleme bzw. eine Lösung gefunden?  
Es ist mehr als ärgerlich, wenn ich auf 6.4.7 bleiben muss und das Security Update in 6.4.8.1 nicht einspielen kann.

Danke im Voraus.

---

<div class="post-metadata">

**Author:** ![klu](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@klu](https://forum.shopware.com/u/klu)\
**Post date:** [21. Februar 2022 um 10:08 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/2 "2022-02-21T10:08:14Z")

</div>

Habe genau das selbe Problem, leider noch keinen Lösungsansatz. Wenn ich dazu komme werde ich versuchen ob eine frische Installation das Problem auch aufweist.

---

<div class="post-metadata">

**Author:** ![Luca2199](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@Luca2199](https://forum.shopware.com/u/Luca2199)\
**Post date:** [23. Februar 2022 um 08:20 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/3 "2022-02-23T08:20:05Z")

</div>

Ich klinke mich hier mal ein .  
Gleiches Problem. Kein Shopupdate möglich.

Schnelle Lösung seitens Shopware wäre dringend nötig aufgrund des Sicherheitsupdates.

---

<div class="post-metadata">

**Author:** ![jan\_roemich\_mia3](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jan\_roemich\_mia3](https://forum.shopware.com/u/jan_roemich_mia3)\
**Post date:** [23. Februar 2022 um 08:36 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/4 "2022-02-23T08:36:32Z")

</div>

Ich habe beim Shopware Support bereits ein Ticket erstellt. Leider seit 2 Tagen keine Antwort oder Rückfrage.

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [2. März 2022 um 12:52 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/5 "2022-03-02T12:52:02Z")

</div>

Hey,

das liegt daran, dass die Cache Config falsch ist. In der Config gibt es pools die musst du mit cache prefixen. Siehe [NEXT-19819 - Fix cache adapter names in test environment · shopware/platform@bbcecbd · GitHub](https://github.com/shopware/platform/commit/bbcecbd1d6fefce90c2483837d7e6e6ca5ffc543) als beispiel

---

<div class="post-metadata">

**Author:** ![jan\_roemich\_mia3](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jan\_roemich\_mia3](https://forum.shopware.com/u/jan_roemich_mia3)\
**Post date:** [3. März 2022 um 08:03 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/6 "2022-03-03T08:03:30Z")

</div>

Hi Shyim,

danke dir, ein Hinweis hat das Problem gelöst. Der Support sollte sich hier mal ein Beispiel an dir nehmen 👍

---

<div class="post-metadata">

**Author:** ![LennartAlbrecht](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@LennartAlbrecht](https://forum.shopware.com/u/LennartAlbrecht)\
**Post date:** [17. Mai 2022 um 11:27 UTC](https://forum.shopware.com/t/redis-adapter-problem-nach-shopware-6-update-von-6-7-4-auf-6-4-8-1/93031/7 "2022-05-17T11:27:32Z")

</div>

Ich hatte das selbe Problem auch, im Livesystem ging der fix nicht, da musste das entsprechend unter  
/config/packages/framework.yaml geändert werden. Ist im Nachhinein offensichtlich, aber nur falls jemand das ebenfalls haben sollte und auch betriebsblind sein sollte 😃

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/c/f/cf5ae895ea9be89bc145edc21c72a02c1672ce90.png)
