# Zend extension, The session has been already started, wiederkehrende Fehlermeldung

**URL:** <https://forum.shopware.com/t/zend-extension-the-session-has-been-already-started-wiederkehrende-fehlermeldung/35952>\
**Category:** Administration\
**Created:** [12. April 2016 um 09:52 UTC](https://forum.shopware.com/t/zend-extension-the-session-has-been-already-started-wiederkehrende-fehlermeldung/35952 "2016-04-12T09:52:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![handssw5](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@handssw5](https://forum.shopware.com/u/handssw5)\
**Post date:** [12. April 2016 um 09:52 UTC](https://forum.shopware.com/t/zend-extension-the-session-has-been-already-started-wiederkehrende-fehlermeldung/35952/1 "2016-04-12T09:52:48Z")

</div>

Kann mir jemand bitte erklären, was ich tun muss, damit dieser komische Fehler gestoppt wird.

Ich habe lediglich beobachtet, dass wenn jemand mit frischem Cache die Webseite aufruft manchmal die Einkaufswelten der Startseite nicht richtig geladen werden… Ansonsten sieht man live nix, was ein Fehler sein könnte.

&nbsp;

```
Message:	exception 'Zend_Session_Exception' with message 'The session has already been started. The session id must be set first.' in /xxx/engine/Library/Zend/Session.php:709
Stack trace:
#0 /xxx/engine/Library/Zend/Session.php(421): Zend_Session::setId('da602f0b162fccb...')
#1 /xxx/engine/Library/Zend/Session/Namespace.php(143): Zend_Session::start(true)
#2 /xxx/engine/Shopware/Components/DependencyInjection/Bridge/Session.php(81): Zend_Session_Namespace->__construct('Shopware')
#3 /xxx/var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(614): Shopware\Components\DependencyInjection\Bridge\Session->factory(Object(ShopwareProductionProjectContainer))
#4 /xxx/vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getSessionService()
#5 /xxx/engine/Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get('session')
#6 /xxx/engine/Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load('session')
#7 /xxx/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(187): Shopware\Components\DependencyInjection\Container->get('session')
#8 /xxx/engine/Shopware/Models/Shop/Shop.php(710): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext()
#9 /xxx/engine/Shopware/Plugins/Default/Core/Router/Bootstrap.php(129): Shopware\Models\Shop\Shop->registerResources(Object(Shopware_Proxies_ShopwareBootstrapProxy))
#10 /xxx/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Core_Router_Bootstrap->onRouteStartup(Object(Enlight_Controller_EventArgs))
#11 /xxx/engine/Library/Enlight/Event/EventManager.php(210): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Controller_EventArgs))
#12 /xxx/engine/Library/Enlight/Controller/Front.php(162): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_EventArgs))
#13 /xxx/engine/Shopware/Kernel.php(148): Enlight_Controller_Front->dispatch()
#14 /xxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /xxx/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#16 /xxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php(449): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#17 /xxx/vendor/symfony/http-kernel/HttpCache/HttpCache.php(349): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#18 /xxx/engine/Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#19 /xxx/SW5/vendor/symfony/http-kernel/HttpCache/HttpCache.php(213): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#20 /xxx/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /xxx/shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#22 {main}
Time:	2016-04-12T11:05:50.066415+0200
Channel:	core
request:	{
    "uri": "/de",
    "method": "GET",
    "query": [],
    "post": []
}
session:	No session data available
shopId:	1
shopName:	XXX

```

Vielen Dank!

---

<div class="post-metadata">

**Author:** ![ruppert](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@ruppert](https://forum.shopware.com/u/ruppert)\
**Post date:** [14. Dezember 2016 um 23:11 UTC](https://forum.shopware.com/t/zend-extension-the-session-has-been-already-started-wiederkehrende-fehlermeldung/35952/2 "2016-12-14T23:11:01Z")

</div>

Wir krigen auch beinahe täglich diesen Fehler! Woran liegt es denn?
