core.ERROR: exception

Hallo, wir haben ein Shopsystem aufgesetzt und bekommen immer mal wieder eine Fehlermeldung per Mail. In dieser steht dann folgendes: [2015-01-09 15:00:39] core.ERROR: exception ‘Exception’ with message ‘Resource “sessionid” not found failure’ in /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Components/DependencyInjection/Container.php:192 Stack trace: #0 /var/www/web12/htdocs/shopware-4-2-3/engine/Library/Enlight/Plugin/Bootstrap.php(117): Shopware\Components\DependencyInjection\Container->get(‘sessionid’) #1 /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Plugins/Default/Frontend/SwagTrustedShopsExcellence/Bootstrap.php(226): Enlight_Plugin_Bootstrap->get(‘sessionid’) #2 /var/www/web12/htdocs/shopware-4-2-3/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagTrustedShopsExcellence_Bootstrap->onStartDispatch(Object(Enlight_Controller_EventArgs)) #3 /var/www/web12/htdocs/shopware-4-2-3/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #4 /var/www/web12/htdocs/shopware-4-2-3/engine/Library/Enlight/Controller/Front.php(198): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_EventArgs)) #5 /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Kernel.php(141): Enlight_Controller_Front->dispatch() #6 /var/www/web12/htdocs/shopware-4-2-3/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(473): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /var/www/web12/htdocs/shopware-4-2-3/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(430): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /var/www/web12/htdocs/shopware-4-2-3/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(330): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #10 /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #11 /var/www/web12/htdocs/shopware-4-2-3/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(194): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #12 /var/www/web12/htdocs/shopware-4-2-3/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /var/www/web12/htdocs/shopware-4-2-3/shopware.php(91): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main} Weiss jemand, was das für eine Fehlermeldung ist?

Ich habe den selben Fehler: Message: exception ‘Exception’ with message ‘Resource “sessionid” not found failure’ in /is/htdocs/…/shop/engine/Shopware/Components/DependencyInjection/Container.php:192 Stack trace: #0 /is/htdocs/…/shop/engine/Library/Enlight/Plugin/Bootstrap.php(117): Shopware\Components\DependencyInjection\Container->get(‘sessionid’) #1 /is/htdocs/…/shop/engine/Shopware/Plugins/Community/Frontend/SwagTrustedShopsExcellence/Bootstrap.php(319): Enlight_Plugin_Bootstrap->get(‘sessionid’) #2 /is/htdocs/…/shop/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagTrustedShopsExcellence_Bootstrap->onStartDispatch(Object(Enlight_Controller_EventArgs)) #3 /is/htdocs/…/shop/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #4 /is/htdocs/…/shop/engine/Library/Enlight/Controller/Front.php(198): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_EventArgs)) #5 /is/htdocs/…/shop/engine/Shopware/Kernel.php(145): Enlight_Controller_Front->dispatch() #6 /is/htdocs/…/shop/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(471): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /is/htdocs/…/shop/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /is/htdocs/…/shop/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(428): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /is/htdocs/…/shop/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(328): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #10 /is/htdocs/…/shop/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #11 /is/htdocs/…/shop/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #12 /is/htdocs/…/shop/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /is/htdocs/…/shop/shopware.php(109): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main} Time: 2015-09-28T09:24:36.079619+0200 Channel: core request: {“uri”:"/shop/",“method”:“GET”,“query”:,“post”:} session: {“sessionId”:“27b6e60f1f817296e555214065bd375a5e9f4574”} shopId: 1 shopName: Hauptshop Deutsch Der Fehler tritt bei mir mit Shopware 4.3.6 und Trusted Shops 2.0 (SwagTrustedShopsExcellence Version 2.1.5) auf - aktuell die neusten Versionen. Es scheint ja eindeutig am Trusted Shops Plugin zu liegen. Der Fehler tritt recht häufig auf. Konnten Sie den Fehler schon auflösen bzw. weiß jemand eine Lösung?

auch bei uns häufige Fehler-Mails… habe schon das Plugin de- und neuinstalliert, brachte keine Änderung… Message: exception ‘Exception’ with message ‘Resource “sessionid” not found failure’ in /livdgqdl/www.living-delights.de/engine/Shopware/Components/DependencyInjection/Container.php:192 Stack trace: #0 /livdgqdl/www.living-delights.de/engine/Library/Enlight/Plugin/Bootstrap.php(117): Shopware\Components\DependencyInjection\Container->get(‘sessionid’) #1 /livdgqdl/www.living-delights.de/engine/Shopware/Plugins/Default/Frontend/SwagTrustedShopsExcellence/Bootstrap.php(319): Enlight_Plugin_Bootstrap->get(‘sessionid’) #2 /livdgqdl/www.living-delights.de/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_SwagTrustedShopsExcellence_Bootstrap->onStartDispatch(Object(Enlight_Controller_EventArgs)) #3 /livdgqdl/www.living-delights.de/engine/Library/Enlight/Event/EventManager.php(211): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs)) #4 /livdgqdl/www.living-delights.de/engine/Library/Enlight/Controller/Front.php(198): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_EventArgs)) #5 /livdgqdl/www.living-delights.de/engine/Shopware/Kernel.php(145): Enlight_Controller_Front->dispatch() #6 /livdgqdl/www.living-delights.de/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(471): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 /livdgqdl/www.living-delights.de/engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 /livdgqdl/www.living-delights.de/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(428): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 /livdgqdl/www.living-delights.de/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(328): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #10 /livdgqdl/www.living-delights.de/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #11 /livdgqdl/www.living-delights.de/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #12 /livdgqdl/www.living-delights.de/engine/Shopware/Components/HttpCache/AppCache.php(113): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /livdgqdl/www.living-delights.de/shopware.php(109): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main} Time: 2015-10-03T17:54:46.966759+0200 Channel: core request: {“uri”:"/",“method”:“GET”,“query”:,“post”:} session: {“sessionId”:“87155540773f4056234569c1fa683964a6581e7f”} shopId: 1 shopName: LIVING DELIGHTS

Bin ich auch grad drüber gestolpert. Sieht so aus, als würde das DI an der Stelle nicht richtig funktionieren. $this->get(„sessionid“); sollte allerdings nichts anders tun als \Enlight_Components_Session::getId() zurück zu liefern. Ich hab daher jetzt Zeile 319 geändert in: $sessionId = \Enlight_Components_Session::getId(); Caches geleert und es kommt keine Fehlermeldung mehr, aber ich hab noch eine gültige SessionId. Wer überprüfen möchte, ob er auch noch eine SessionId bekommt, kann temporär folgende Debug-Zeile (unter $sessionId = …) einfügen: echo „“; Danach wird als HTML-Kommentar die aktuelle SessionId angezeigt.

Hinweis: achtet auf Groß- und Kleinschreibung! Shopware()->sessiond() ist NICHT Shopware()->SessionID() $session->get( “sessionid” ) ist NICHT $session->get( “sesionId” ) Viele Grüße

[quote=„Aquatuning GmbH“]Shopware()->sessiond() ist NICHT Shopware()->SessionID() $session->get( „sessionid“ ) ist NICHT $session->get( „sesionId“ )[/quote] Hat auch niemand behauptet, es steht allerdings $this->get(„sessionid“) im offiziellen Plugin.