{"action":"created","issue":{"url":"https://api.github.com/repos/hautelook/AliceBundle/issues/214","repository_url":"https://api.github.com/repos/hautelook/AliceBundle","labels_url":"https://api.github.com/repos/hautelook/AliceBundle/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/hautelook/AliceBundle/issues/214/comments","events_url":"https://api.github.com/repos/hautelook/AliceBundle/issues/214/events","html_url":"https://github.com/hautelook/AliceBundle/issues/214","id":150387620,"number":214,"title":"PHP Fatal error after AliceBundle installation","user":{"login":"kacperix","id":200286,"avatar_url":"https://avatars.githubusercontent.com/u/200286?v=3","gravatar_id":"","url":"https://api.github.com/users/kacperix","html_url":"https://github.com/kacperix","followers_url":"https://api.github.com/users/kacperix/followers","following_url":"https://api.github.com/users/kacperix/following{/other_user}","gists_url":"https://api.github.com/users/kacperix/gists{/gist_id}","starred_url":"https://api.github.com/users/kacperix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacperix/subscriptions","organizations_url":"https://api.github.com/users/kacperix/orgs","repos_url":"https://api.github.com/users/kacperix/repos","events_url":"https://api.github.com/users/kacperix/events{/privacy}","received_events_url":"https://api.github.com/users/kacperix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-22T14:43:01Z","updated_at":"2016-04-22T22:46:32Z","closed_at":"2016-04-22T18:00:10Z","body":"After I've installed AliceBundle Symfony throws an exception:\r\n\r\n```\r\nPHP Fatal error:  Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Type error: Argument 2 passed to HautelookAliceBundleDoctrineCommandLoadDataFixturesCommand_0000000025f3c2290000000073837c9e0de979db516cb6266516079ba9efc4da::__construct() must be an instance of Doctrine\\Common\\Persistence\\ManagerRegistry, none given, called in /Users/przemek/Development/esnabel/var/cache/dev/appDevDebugProjectContainer.php on line 1490 in /Users/przemek/Development/esnabel/var/cache/dev/appDevDebugProjectContainer.php:5701\r\nStack trace:\r\n#0 /Users/przemek/Development/esnabel/var/cache/dev/appDevDebugProjectContainer.php(1490): HautelookAliceBundleDoctrineCommandLoadDataFixturesCommand_0000000025f3c2290000000073837c9e0de979db516cb6266516079ba9efc4da->__construct(Object(Closure))\r\n#1 /Users/przemek/Development/esnabel/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(273): appDevDebugProjectContainer->getHautelookAlice_Doctrine_Command_DeprecatedLoadCommandService()\r\n#2 /Users/przemek/Development/esnabel/v in /Users/przemek/Development/esnabel/var/cache/dev/appDevDebugProjectContainer.php on line 5701\r\n```\r\n\r\nMy Env:\r\n* php 7 + OPCache\r\n* symfony 3.0.0\r\n* doctrine and fixtures bundles installed\r\n\r\nBundle installation command:\r\n`composer require --dev hautelook/alice-bundle`\r\n\r\n`AppKernel.php` file:\r\n```php\r\n<?php\r\n\r\n    // ...\r\n\r\n    public function registerBundles()\r\n    {\r\n        $bundles = array(\r\n            new Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle(),\r\n            new Symfony\\Bundle\\SecurityBundle\\SecurityBundle(),\r\n            new Symfony\\Bundle\\TwigBundle\\TwigBundle(),\r\n            new Symfony\\Bundle\\MonologBundle\\MonologBundle(),\r\n            new Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle(),\r\n            new Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle(),\r\n            new Sensio\\Bundle\\FrameworkExtraBundle\\SensioFrameworkExtraBundle(),\r\n            new Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle(),\r\n            new AppBundle\\AppBundle(),\r\n        );\r\n        if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {\r\n            $bundles[] = new Symfony\\Bundle\\DebugBundle\\DebugBundle();\r\n            $bundles[] = new Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle();\r\n            $bundles[] = new Sensio\\Bundle\\DistributionBundle\\SensioDistributionBundle();\r\n            $bundles[] = new Sensio\\Bundle\\GeneratorBundle\\SensioGeneratorBundle();\r\n            $bundles[] = new Doctrine\\Bundle\\FixturesBundle\\DoctrineFixturesBundle();\r\n            $bundles[] = new Hautelook\\AliceBundle\\HautelookAliceBundle();\r\n        }\r\n        return $bundles;\r\n    }\r\n    \r\n    // ...\r\n```\r\n\r\n`composer.json` file:\r\n\r\n```json\r\n    \"require\": {\r\n        \"php\": \">=5.5.9\",\r\n        \"symfony/symfony\": \"3.0.*\",\r\n        \"doctrine/orm\": \"^2.5\",\r\n        \"doctrine/doctrine-bundle\": \"^1.6\",\r\n        \"doctrine/doctrine-cache-bundle\": \"^1.2\",\r\n        \"symfony/swiftmailer-bundle\": \"^2.3\",\r\n        \"symfony/monolog-bundle\": \"^2.8\",\r\n        \"sensio/distribution-bundle\": \"^5.0\",\r\n        \"sensio/framework-extra-bundle\": \"^3.0.2\",\r\n        \"incenteev/composer-parameter-handler\": \"^2.0\",\r\n        \"doctrine/doctrine-migrations-bundle\": \"^1.1\"\r\n    },\r\n    \"require-dev\": {\r\n        \"sensio/generator-bundle\": \"^3.0\",\r\n        \"symfony/phpunit-bridge\": \"^2.7\",\r\n        \"doctrine/doctrine-fixtures-bundle\": \"^2.3\",\r\n        \"hautelook/alice-bundle\": \"^1.2\",\r\n        \"doctrine/data-fixtures\": \"^1.1\"\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/hautelook/AliceBundle/issues/comments/213615543","html_url":"https://github.com/hautelook/AliceBundle/issues/214#issuecomment-213615543","issue_url":"https://api.github.com/repos/hautelook/AliceBundle/issues/214","id":213615543,"user":{"login":"kacperix","id":200286,"avatar_url":"https://avatars.githubusercontent.com/u/200286?v=3","gravatar_id":"","url":"https://api.github.com/users/kacperix","html_url":"https://github.com/kacperix","followers_url":"https://api.github.com/users/kacperix/followers","following_url":"https://api.github.com/users/kacperix/following{/other_user}","gists_url":"https://api.github.com/users/kacperix/gists{/gist_id}","starred_url":"https://api.github.com/users/kacperix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacperix/subscriptions","organizations_url":"https://api.github.com/users/kacperix/orgs","repos_url":"https://api.github.com/users/kacperix/repos","events_url":"https://api.github.com/users/kacperix/events{/privacy}","received_events_url":"https://api.github.com/users/kacperix/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T22:46:32Z","updated_at":"2016-04-22T22:46:32Z","body":"What I've noticed that Symfony 3.0.0 with PHP 5.6 works."}}