# Problem mit gefiltertem Product Stream

**URL:** <https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835>\
**Category:** Allgemein\
**Created:** [22. Januar 2016 um 14:26 UTC](https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835 "2016-01-22T14:26:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neonnt](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@neonnt](https://forum.shopware.com/u/neonnt)\
**Post date:** [22. Januar 2016 um 14:26 UTC](https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835/1 "2016-01-22T14:26:23Z")

</div>

Hi, Ich habe zur Zeit Probleme einen gefilterten Product Stream in Shopware 5.1.1 zu erstellen. Der Auswahl Stream funktioniert, nur der gefilterte Stream (z.B. für Produkte mit Pseudopreis) bringt folgenden Fehler im Backend wenn man auf Vorschau aktualisieren klickt. `Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Resource "shop" not found failure in Shopware/Components/DependencyInjection/Container.php on line 192 Stack trace: #0 Shopware/Bootstrap.php(131): Shopware\Components\DependencyInjection\Container-\>get('Shop') #1 Shopware/Application.php(166): Shopware\_Bootstrap-\>getResource('Shop') #2 Shopware/Plugins/Community/Frontend/SwagVariantFilter/Subscriber/ServiceContainer.php(82): Shopware-\>Shop() #3 [internal function]: Shopware\SwagVariantFilter\Subscriber\ServiceContainer-\>getFilterService(Object(Enlight\_Event\_EventArgs)) #4 Enlight/Event/Handler/Default.php(91): call\_user\_func(Array, Object(Enlight\_Event\_EventArgs)) #5 Enlight/Event/EventManager.php(251): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Event\_EventArgs)) #6 Shopware/Components/DependencyInjection/Container.php(247): Enlight\_Event\_EventManager-\>notifyUntil('Enlight\_Bootstr...', Array) #7 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container-\>load('swagvariantfilt...') #8 Shopware/Plugins/Community/Frontend/SwagVariantFilter/Subscriber/Filter.php(100): Shopware\Components\DependencyInjection\Container-\>get('SwagVariantFilt...') #9 [internal function]: Shopware\SwagVariantFilter\Subscriber\Filter-\>getVariantFilterFacetHandler(Object(Enlight\_Event\_EventArgs)) #10 Enlight/Event/Handler/Default.php(91): call\_user\_func(Array, Object(Enlight\_Event\_EventArgs)) #11 Enlight/Event/EventManager.php(336): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Event\_EventArgs)) #12 Shopware/Bundle/SearchBundleDBAL/ProductNumberSearch.php(186): Enlight\_Event\_EventManager-\>collect('Shopware\_Search...', Object(Doctrine\Common\Collections\ArrayCollection)) #13 Shopware/Bundle/SearchBundleDBAL/ProductNumberSearch.php(76): Shopware\Bundle\SearchBundleDBAL\ProductNumberSearch-\>registerFacetHandlers() #14 var/cache/production\_201510221322/proxies/ShopwareProductionProjectContainer.php(830): Shopware\Bundle\SearchBundleDBAL\ProductNumberSearch-\>\_\_construct(Object(Shopware\Bundle\SearchBundleDBAL\QueryBuilderFactory), Object(Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\Hydrator\AttributeHydrator), Object(Enlight\_Event\_EventManager), Array) #15 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer-\>getShopwareSearch\_ProductNumberSearchService() #16 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container-\>get('shopware\_search...') #17 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container-\>load('shopware\_search...') #18 var/cache/production\_201510221322/proxies/ShopwareProductionProjectContainer.php(834): Shopware\Components\DependencyInjection\Container-\>get('shopware\_search...') #19 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer-\>getShopwareSearch\_ProductSearchService() #20 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container-\>get('shopware\_search...') #21 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container-\>load('shopware\_search...') #22 Shopware/Controllers/Backend/ProductStream.php(80): Shopware\Components\DependencyInjection\Container-\>get('shopware\_search...') #23 Enlight/Controller/Action.php(158): Shopware\_Controllers\_Backend\_ProductStream-\>loadPreviewAction() #24 Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('loadPreviewActi...') #25 Enlight/Controller/Front.php(227): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #26 Shopware/Kernel.php(148): Enlight\_Controller\_Front-\>dispatch() #27 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #28 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #29 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #30 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #31 shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #32 {main} OK ` Hat evtl. jemand einen Tip wie man das Problem in den Griff bekommt? Gruß neonnt

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [22. Januar 2016 um 19:52 UTC](https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835/2 "2016-01-22T19:52:28Z")

</div>

Hi, ich vermute, dass es an SwagVariantFilter liegt. Die Fehlermeldung deutet darauf hin, dass der VariantenFilter die Vorschaufunktion als Frontend-Listing fehlinterpretiert und auf das (nicht vorhandene) Frontend-Shop-Objekt zugreifen möchte. Das Plugin liegt ja mittlerweile bei Github als OpenSource: [https://github.com/shopwareLabs/SwagVariantFilter](https://github.com/shopwareLabs/SwagVariantFilter) - da können also Codeänderungen eingereicht werden. Besten Gruß, Daniel

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [22. Januar 2016 um 21:25 UTC](https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835/3 "2016-01-22T21:25:50Z")

</div>

Hi, [https://github.com/shopwareLabs/SwagVar … 844f59db2c](https://github.com/shopwareLabs/SwagVariantFilter/commit/2a7d580f5e07dec1a7d77f2b2ef2b8844f59db2c) das wäre ein möglicher Fix (nicht offiziell). Daniel

---

<div class="post-metadata">

**Author:** ![neonnt](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@neonnt](https://forum.shopware.com/u/neonnt)\
**Post date:** [25. Januar 2016 um 09:00 UTC](https://forum.shopware.com/t/problem-mit-gefiltertem-product-stream/33835/4 "2016-01-25T09:00:31Z")

</div>

Durch den Fix funktioniert wieder alles. Vielen Dank 🙂 Gruß neonnt
