# Zend Session Exception error Shopware 5.2

**URL:** <https://forum.shopware.com/t/zend-session-exception-error-shopware-5-2/61149>\
**Category:** Programmierung\
**Created:** [17. August 2019 um 19:52 UTC](https://forum.shopware.com/t/zend-session-exception-error-shopware-5-2/61149 "2019-08-17T19:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tashfeen](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tashfeen](https://forum.shopware.com/u/tashfeen)\
**Post date:** [17. August 2019 um 19:52 UTC](https://forum.shopware.com/t/zend-session-exception-error-shopware-5-2/61149/1 "2019-08-17T19:52:49Z")

</div>

Hi all,

My Shopware system is throwing two errors&nbsp;

**On the frontend page:** “Uncaught exception ‘Zend\_Session\_Exception’ with message 'You must call Zend\_Session::setId()” when I to load the frontend page of the shop. "

**On the backend page: "** Uncaught exception ‘Zend\_Controller\_Response\_Exception’ with message 'Cannot send headers; headers already sent "

**Solutions I have tried so far:**

**-&nbsp;** http cache disabled in config.php

- set following property&nbsp; in php.ini

Information: I am using php 5.6&nbsp;

&nbsp;

---

<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:** [19. August 2019 um 19:09 UTC](https://forum.shopware.com/t/zend-session-exception-error-shopware-5-2/61149/2 "2019-08-19T19:09:06Z")

</div>

The issue mostly happens when something is printed before the session has started. Can you enable error reporting and show again?
