<p dir="auto">I found this warning in my apache log:</p>
<p dir="auto"><code class="notranslate">PHP Warning: SessionHandler::close(): Parent session handler is not open in app/cache/prod/classes.php</code></p>
<p dir="auto">It's look likes the issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7944383" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/5868" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/5868/hovercard" href="https://github.com/symfony/symfony/issues/5868">#5868</a>.</p>
<p dir="auto">I use <strong>php 5.4.8</strong> and <strong>apache 2.2.23</strong> on <strong>gentoo</strong>.</p>
<p dir="auto">I don't know how to test for reproduce this error, if someone can give me some help... :)</p>
<p dir="auto">Thanks.</p>
<p dir="auto">Working through some tests using the bundled Security functionality, and we have noticed that on a logout action we are getting in our server logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Mon Oct 29 16:43:14 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Warning: SessionHandler::write(): Parent session handler is not open in /web_dir/app/cache/dev/classes.php line 558' in /web_dir/app/cache/dev/classes.php:558\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\Debug\\ErrorHandler-&gt;handle(2, 'SessionHandler:...', '/web_dir...', 558, Array)\n#1 /web_dir/app/cache/dev/classes.php(558): SessionHandler-&gt;write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#2 [internal function]: Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy-&gt;write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#3 [internal function]: session_write_close()\n#4 {main}\n  thrown in /web_dir/app/cache/dev/classes.php on line 558"><pre class="notranslate"><code class="notranslate">[Mon Oct 29 16:43:14 2012] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'Warning: SessionHandler::write(): Parent session handler is not open in /web_dir/app/cache/dev/classes.php line 558' in /web_dir/app/cache/dev/classes.php:558\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\Debug\\ErrorHandler-&gt;handle(2, 'SessionHandler:...', '/web_dir...', 558, Array)\n#1 /web_dir/app/cache/dev/classes.php(558): SessionHandler-&gt;write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#2 [internal function]: Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy-&gt;write('e0ua5bnj0vneq97...', '_sf2_attributes...')\n#3 [internal function]: session_write_close()\n#4 {main}\n  thrown in /web_dir/app/cache/dev/classes.php on line 558
</code></pre></div>
<p dir="auto">It seems this issue isn't unique to us as seen at:</p>
<p dir="auto"><a href="https://groups.google.com/forum/?fromgroups=#!topic/symfony-devs/Q-f0lKT7OZ8" rel="nofollow">https://groups.google.com/forum/?fromgroups=#!topic/symfony-devs/Q-f0lKT7OZ8</a></p>
<p dir="auto">We are running a centos 6 machine running <strong>PHP v5.4.7</strong> and <strong>Apache/2.2.15</strong>.</p>
<p dir="auto">Anyone have any suggestions as to what is causing this and how we can eliminate this message on every log out?</p>