{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/10868","labels_url":"https://api.github.com/repos/laravel/framework/issues/10868/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10868/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/10868/events","html_url":"https://github.com/laravel/framework/issues/10868","id":116094957,"number":10868,"title":"php artisan route:list ERROR","user":{"login":"minkbear","id":233714,"avatar_url":"https://avatars.githubusercontent.com/u/233714?v=3","gravatar_id":"","url":"https://api.github.com/users/minkbear","html_url":"https://github.com/minkbear","followers_url":"https://api.github.com/users/minkbear/followers","following_url":"https://api.github.com/users/minkbear/following{/other_user}","gists_url":"https://api.github.com/users/minkbear/gists{/gist_id}","starred_url":"https://api.github.com/users/minkbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minkbear/subscriptions","organizations_url":"https://api.github.com/users/minkbear/orgs","repos_url":"https://api.github.com/users/minkbear/repos","events_url":"https://api.github.com/users/minkbear/events{/privacy}","received_events_url":"https://api.github.com/users/minkbear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T12:11:28Z","updated_at":"2015-11-10T12:11:28Z","closed_at":null,"body":"I have app/Http/navigation.php and in that file I call Auth::user()->can which my User model using EntrustUserTrait.\r\nWhen I call php artisan route:list on command, It shows error below. How can I solved this problem.\r\n\r\nThanks\r\n\r\nPHP Fatal error:  Call to a member function can() on null in C:\\foo_project\\app\\Http\\navigation.\r\nphp on line ..\r\n\r\n  [Symfony\\Component\\Debug\\Exception\\FatalErrorException]\r\n  Call to a member function can() on null"}}