Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgraded to Laravel 5.4 - Some routes now fail?

I had a completely working project on Laravel 5.3, yesterday I upgraded to Laravel 5.4 locally to check all was working and was very happy so put a plan in place to move it live.

Where I have now deployed the site on my forge.laravel.com managed servers, most of the routes work okay but when trying to log out I get the following error:

enter image description here

I'm not quite sure what the issue actually is. This site works totally fine locally. Can anyone point me in the right direction?

like image 246
Andy Holmes Avatar asked Jan 26 '17 13:01

Andy Holmes


1 Answers

As a quick fix (after emailing Taylor) he suggested that I comment out the \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, middleware inside app\Html\Kernal.php

Tried it and it worked perfectly!

Easy fix when you know how! haha

like image 172
Andy Holmes Avatar answered Oct 19 '22 01:10

Andy Holmes