{"action":"created","issue":{"url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/11","labels_url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/11/comments","events_url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/11/events","html_url":"https://github.com/GeneaLabs/laravel-caffeine/issues/11","id":123575840,"number":11,"title":"Laravel 5.2 middleware issue","user":{"login":"opheliadesign","id":3220026,"avatar_url":"https://avatars.githubusercontent.com/u/3220026?v=3","gravatar_id":"","url":"https://api.github.com/users/opheliadesign","html_url":"https://github.com/opheliadesign","followers_url":"https://api.github.com/users/opheliadesign/followers","following_url":"https://api.github.com/users/opheliadesign/following{/other_user}","gists_url":"https://api.github.com/users/opheliadesign/gists{/gist_id}","starred_url":"https://api.github.com/users/opheliadesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opheliadesign/subscriptions","organizations_url":"https://api.github.com/users/opheliadesign/orgs","repos_url":"https://api.github.com/users/opheliadesign/repos","events_url":"https://api.github.com/users/opheliadesign/events{/privacy}","received_events_url":"https://api.github.com/users/opheliadesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T23:28:31Z","updated_at":"2015-12-23T02:44:12Z","closed_at":null,"body":"Ran into this error after upgrading to Laravel 5.2:\r\n\r\n```\r\nSymfony\\Component\\Debug\\Exception\\FatalErrorException thrown with message \"Interface 'Illuminate\\Contracts\\Routing\\Middleware' not found\"\r\n\r\nStacktrace:\r\n#35 Symfony\\Component\\Debug\\Exception\\FatalErrorException in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/genealabs/laravel-caffeine/src/Http/Middleware/LaravelCaffeineDripMiddleware.php:7\r\n#34 Symfony\\Component\\Debug\\Exception\\FatalErrorException:__construct in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:133\r\n#33 Illuminate\\Foundation\\Bootstrap\\HandleExceptions:fatalExceptionFromError in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:118\r\n#32 Illuminate\\Foundation\\Bootstrap\\HandleExceptions:handleShutdown in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:0\r\n#31  in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/composer/ClassLoader.php:412\r\n#30 Composer\\Autoload\\includeFile in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/composer/ClassLoader.php:301\r\n#29 Composer\\Autoload\\ClassLoader:loadClass in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736\r\n#28 spl_autoload_call in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736\r\n#27 ReflectionClass:__construct in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736\r\n#26 Illuminate\\Container\\Container:build in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:631\r\n#25 Illuminate\\Container\\Container:make in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:674\r\n#24 Illuminate\\Foundation\\Application:make in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:123\r\n#23 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:64\r\n#22 Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#21 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#20 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49\r\n#19 Illuminate\\View\\Middleware\\ShareErrorsFromSession:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#18 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#17 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62\r\n#16 Illuminate\\Session\\Middleware\\StartSession:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#15 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#14 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37\r\n#13 Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#12 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#11 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59\r\n#10 Illuminate\\Cookie\\Middleware\\EncryptCookies:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#9 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#8 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:44\r\n#7 Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#6 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124\r\n#5 Illuminate\\Pipeline\\Pipeline:Illuminate\\Pipeline\\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103\r\n#4 call_user_func:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103\r\n#3 Illuminate\\Pipeline\\Pipeline:then in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:132\r\n#2 Illuminate\\Foundation\\Http\\Kernel:sendRequestThroughRouter in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:99\r\n#1 Illuminate\\Foundation\\Http\\Kernel:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/public/index.php:54\r\n#0 {main} in /home/vagrant/PhpstormProjects/fvrs-version-2/public/index.php:0\r\n```"},"comment":{"url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/comments/166792162","html_url":"https://github.com/GeneaLabs/laravel-caffeine/issues/11#issuecomment-166792162","issue_url":"https://api.github.com/repos/GeneaLabs/laravel-caffeine/issues/11","id":166792162,"user":{"login":"lhdev","id":2625597,"avatar_url":"https://avatars.githubusercontent.com/u/2625597?v=3","gravatar_id":"","url":"https://api.github.com/users/lhdev","html_url":"https://github.com/lhdev","followers_url":"https://api.github.com/users/lhdev/followers","following_url":"https://api.github.com/users/lhdev/following{/other_user}","gists_url":"https://api.github.com/users/lhdev/gists{/gist_id}","starred_url":"https://api.github.com/users/lhdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhdev/subscriptions","organizations_url":"https://api.github.com/users/lhdev/orgs","repos_url":"https://api.github.com/users/lhdev/repos","events_url":"https://api.github.com/users/lhdev/events{/privacy}","received_events_url":"https://api.github.com/users/lhdev/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T02:44:12Z","updated_at":"2015-12-23T02:44:12Z","body":"I've confirmed this as well.  Please see here:\r\nhttp://laravel.com/docs/5.2/upgrade#upgrade-5.2.0\r\n\r\nSpecifically the Deprecations sections relating to \"The Illuminate\\Contracts\\Routing\\Middleware contract has been deprecated.\""}}