{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1313","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1313/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1313/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1313/events","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/issues/1313","id":126909447,"number":1313,"title":"Argument 1 passed to FOS\\RestBundle\\Decoder\\ContainerDecoderProvider::__construct() must implement interface","user":{"login":"shakaran","id":14254,"avatar_url":"https://avatars.githubusercontent.com/u/14254?v=3","gravatar_id":"","url":"https://api.github.com/users/shakaran","html_url":"https://github.com/shakaran","followers_url":"https://api.github.com/users/shakaran/followers","following_url":"https://api.github.com/users/shakaran/following{/other_user}","gists_url":"https://api.github.com/users/shakaran/gists{/gist_id}","starred_url":"https://api.github.com/users/shakaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakaran/subscriptions","organizations_url":"https://api.github.com/users/shakaran/orgs","repos_url":"https://api.github.com/users/shakaran/repos","events_url":"https://api.github.com/users/shakaran/events{/privacy}","received_events_url":"https://api.github.com/users/shakaran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T16:43:10Z","updated_at":"2016-01-15T16:46:38Z","closed_at":null,"body":"I am using Symfony v2.7.9 and in the last update from composer of friendsofsymfony/rest-bundle I see:\r\n\r\n  * - Removing friendsofsymfony/rest-bundle (dev-master 6ebbd6d)\r\n  * - Installing friendsofsymfony/rest-bundle (dev-master ce3f183)\r\n\r\nNow I am getting the trace:\r\n\r\n    [2016-01-15 11:30:32] request.CRITICAL: Exception thrown when handling an exception (Symfony\\Component\\Debug\\Exception\\ContextErrorException: Catchable Fatal Error: Argument 1 passed to FOS\\RestBundle\\Decoder\\ContainerDecoderProvider::__construct() must implement interface Symfony\\Component\\DependencyInjection\\ContainerInterface, array given, called in /home/myapp/public/releases/20151216130325/app/cache/prod/appProdProjectContainer.php on line 749 and defined at /home/myapp/public/shared/vendor/friendsofsymfony/rest-bundle/Decoder/ContainerDecoderProvider.php line 32) {\"exception\":\"[object] (Symfony\\\\Component\\\\Debug\\\\Exception\\\\ContextErrorException(code: 0): Catchable Fatal Error: Argument 1 passed to FOS\\\\RestBundle\\\\Decoder\\\\ContainerDecoderProvider::__construct() must implement interface Symfony\\\\Component\\\\DependencyInjection\\\\ContainerInterface, array given, called in /home/myapp/public/releases/20151216130325/app/cache/prod/appProdProjectContainer.php on line 749 and defined at /home/myapp/public/shared/vendor/friendsofsymfony/rest-bundle/Decoder/ContainerDecoderProvider.php:32)\"} []\r\n\r\nSo I am not sure if it is a bug in my app or the update of friendsofsymfony/rest-bundle breaks my application since I cannot figure out which line breaks the code in my app with the trace.\r\n\r\nAny idea?"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments/172012095","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/issues/1313#issuecomment-172012095","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1313","id":172012095,"user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T16:46:38Z","updated_at":"2016-01-15T16:46:38Z","body":"@shakaran did you clean your cache? If yes, do you have a service extending ``fos_rest.decoder_provider`` or using ``FOS\\RestBundle\\Decoder\\ContainerDecoderProvider``? "}}