{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony-demo/issues/411","repository_url":"https://api.github.com/repos/symfony/symfony-demo","labels_url":"https://api.github.com/repos/symfony/symfony-demo/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-demo/issues/411/comments","events_url":"https://api.github.com/repos/symfony/symfony-demo/issues/411/events","html_url":"https://github.com/symfony/symfony-demo/issues/411","id":196042822,"number":411,"title":"Fatal error: Cannot redeclare class Symfony\\Component\\HttpFoundation\\Response (or ResponseHeaderBag)","user":{"login":"ieleja","id":5673324,"avatar_url":"https://avatars.githubusercontent.com/u/5673324?v=3","gravatar_id":"","url":"https://api.github.com/users/ieleja","html_url":"https://github.com/ieleja","followers_url":"https://api.github.com/users/ieleja/followers","following_url":"https://api.github.com/users/ieleja/following{/other_user}","gists_url":"https://api.github.com/users/ieleja/gists{/gist_id}","starred_url":"https://api.github.com/users/ieleja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ieleja/subscriptions","organizations_url":"https://api.github.com/users/ieleja/orgs","repos_url":"https://api.github.com/users/ieleja/repos","events_url":"https://api.github.com/users/ieleja/events{/privacy}","received_events_url":"https://api.github.com/users/ieleja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-16T11:52:16Z","updated_at":"2016-12-28T09:35:57Z","closed_at":null,"body":"OSX, Apache 2.4, PHP 5.6.27\r\nLinux, Apache 2.4, PHP 5.6.28\r\n\r\nclean Symfony Demo install with:\r\n$ symfony demo\r\n\r\npoint browser to:\r\nhttp://localhost/symfony_demo/web/en/blog/\r\n\r\nchoose:\r\nBrowse Application\r\nBack to blog\r\n\r\nand always get this Fatal error under OSX:\r\nPHP Fatal error:  Cannot redeclare class Symfony\\\\Component\\\\HttpFoundation\\\\ResponseHeaderBag in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 4491\r\nor\r\nPHP Fatal error:  Cannot redeclare class Symfony\\\\Component\\\\HttpFoundation\\\\Response in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 3777\r\nand under Linux:\r\nPHP Fatal error:  Cannot redeclare class Symfony\\\\Component\\\\HttpFoundation\\\\ResponseHeaderBag in /var/www/symfony_demo/var/cache/prod/classes.php on line 4491\r\n\r\nclearing cache helps exactly one time, up to server recreates cache files\r\n\r\nerror reproduces in Chrome, Firefox, Safari\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony-demo/issues/comments/269451691","html_url":"https://github.com/symfony/symfony-demo/issues/411#issuecomment-269451691","issue_url":"https://api.github.com/repos/symfony/symfony-demo/issues/411","id":269451691,"user":{"login":"bocharsky-bw","id":3317635,"avatar_url":"https://avatars.githubusercontent.com/u/3317635?v=3","gravatar_id":"","url":"https://api.github.com/users/bocharsky-bw","html_url":"https://github.com/bocharsky-bw","followers_url":"https://api.github.com/users/bocharsky-bw/followers","following_url":"https://api.github.com/users/bocharsky-bw/following{/other_user}","gists_url":"https://api.github.com/users/bocharsky-bw/gists{/gist_id}","starred_url":"https://api.github.com/users/bocharsky-bw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocharsky-bw/subscriptions","organizations_url":"https://api.github.com/users/bocharsky-bw/orgs","repos_url":"https://api.github.com/users/bocharsky-bw/repos","events_url":"https://api.github.com/users/bocharsky-bw/events{/privacy}","received_events_url":"https://api.github.com/users/bocharsky-bw/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T09:35:57Z","updated_at":"2016-12-28T09:35:57Z","body":"@javiereguiluz It works for me only with the `prod` environment. My steps to reproduce are:\r\n\r\n1. Clone repo (the latest master commit)\r\n2. `composer ins`\r\n3. `bin/console s:r`\r\n4. `rm -rf var/cache/*`\r\n5. Browser http://127.0.0.1:8000/app.php/\r\n6. Press \"Browser application\"\r\n7. Press \"Symfony Demo\"\r\n8. Press \"Browser application\" again\r\n9. If you don't see \"Fatal error...\" - repeat 6-8 steps\r\n\r\nAnyway, for me, this error happens only on blog list page, i.e. when surfing Symfony Demo app and return to the http://127.0.0.1:8000/app.php/ru/blog/ page"}}
{"actor":{"display_login":"bocharsky-bw"}}