Skip to content

Instantly share code, notes, and snippets.

@kamaulynder
Created November 21, 2016 13:03
Show Gist options
  • Select an option

  • Save kamaulynder/e7f176dfbd9b8b139fa566abaca51d1e to your computer and use it in GitHub Desktop.

Select an option

Save kamaulynder/e7f176dfbd9b8b139fa566abaca51d1e to your computer and use it in GitHub Desktop.
{"message":"405 Method Not Allowed","status_code":405,"debug":{"line":218,"file":"\/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/RouteCollection.php","class":"Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException","trace":["#0 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/RouteCollection.php(205): Illuminate\\Routing\\RouteCollection->methodNotAllowed(Array)","#1 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/RouteCollection.php(158): Illuminate\\Routing\\RouteCollection->getRouteForMethods(Object(Dingo\\Api\\Http\\Request), Array)","#2 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(750): Illuminate\\Routing\\RouteCollection->match(Object(Dingo\\Api\\Http\\Request))","#3 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(659): Illuminate\\Routing\\Router->findRoute(Object(Dingo\\Api\\Http\\Request))","#4 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php(635): Illuminate\\Routing\\Router->dispatchToRoute(Object(Dingo\\Api\\Http\\Request))","#5 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Adapter\/Laravel.php(65): Illuminate\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#6 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Routing\/Router.php(559): Dingo\\Api\\Routing\\Adapter\\Laravel->dispatch(Object(Dingo\\Api\\Http\\Request), 'v1')","#7 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(112): Dingo\\Api\\Routing\\Router->dispatch(Object(Dingo\\Api\\Http\\Request))","#8 [internal function]: Dingo\\Api\\Http\\Middleware\\Request->Dingo\\Api\\Http\\Middleware\\{closure}(Object(Dingo\\Api\\Http\\Request))","#9 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(139): call_user_func(Object(Closure), Object(Dingo\\Api\\Http\\Request))","#10 \/home\/vagrant\/rollcall\/vendor\/barryvdh\/laravel-cors\/src\/HandleCors.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#11 [internal function]: Barryvdh\\Cors\\HandleCors->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#12 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#13 \/home\/vagrant\/rollcall\/vendor\/lucadegasperi\/oauth2-server-laravel\/src\/Middleware\/OAuthExceptionHandlerMiddleware.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#14 [internal function]: LucaDegasperi\\OAuth2Server\\Middleware\\OAuthExceptionHandlerMiddleware->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#15 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#16 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#17 [internal function]: Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#18 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#19 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#20 [internal function]: Illuminate\\Session\\Middleware\\StartSession->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#21 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#22 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#23 [internal function]: Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#24 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#25 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Cookie\/Middleware\/EncryptCookies.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#26 [internal function]: Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#27 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#28 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Middleware\/CheckForMaintenanceMode.php(44): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#29 [internal function]: Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Dingo\\Api\\Http\\Request), Object(Closure))","#30 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#31 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Dingo\\Api\\Http\\Request))","#32 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): call_user_func(Object(Closure), Object(Dingo\\Api\\Http\\Request))","#33 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(113): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#34 \/home\/vagrant\/rollcall\/vendor\/dingo\/api\/src\/Http\/Middleware\/Request.php(89): Dingo\\Api\\Http\\Middleware\\Request->sendRequestThroughRouter(Object(Dingo\\Api\\Http\\Request))","#35 [internal function]: Dingo\\Api\\Http\\Middleware\\Request->handle(Object(Illuminate\\Http\\Request), Object(Closure))","#36 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(124): call_user_func_array(Array, Array)","#37 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))","#38 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))","#39 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(122): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))","#40 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/Kernel.php(87): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))","#41 \/home\/vagrant\/rollcall\/public\/index.php(54): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))","#42 {main}"]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment