SANTI1111
556
16
Laravel

methodNotAllowedHttpException only production

Posted 1 year ago by SANTI1111

(1/1) MethodNotAllowedHttpException in RouteCollection.php (line 251) at RouteCollection->methodNotAllowed(array('POST')) in RouteCollection.php (line 238) at RouteCollection->getRouteForMethods(object(Request), array('POST')) in RouteCollection.php (line 176) at RouteCollection->match(object(Request)) in Router.php (line 548) at Router->findRoute(object(Request)) in Router.php (line 527) at Router->dispatchToRoute(object(Request)) in Router.php (line 513) at Router->dispatch(object(Request)) in Kernel.php (line 176) at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) in Pipeline.php (line 30) at Pipeline->Illuminate\Routing{closure}(object(Request)) in TransformsRequest.php (line 30) at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request)) in TransformsRequest.php (line 30) at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request)) in ValidatePostSize.php (line 27) at ValidatePostSize->handle(object(Request), object(Closure)) in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php (line 46) at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php (line 148) at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in Pipeline.php (line 53) at Pipeline->Illuminate\Routing{closure}(object(Request)) in Pipeline.php (line 102) at Pipeline->then(object(Closure)) in Kernel.php (line 151) at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php (line 116) at Kernel->handle(object(Request)) in index.php (line 53)

need some help here. I checked the view, route and controller and in my local environment the post is actually storing images...

what could it be?

thanks

Please sign in or create an account to participate in this conversation.