I have a running app written on Laravel 5.7. I tried to change the record in composer.json
to match "5.8.*" and ran composer update
. On my local (win10/WAMP) machine it went fine, but on the staging server (Debian 9/nginx) the update command changed the vendor contents and failed at the end.
Since then anything I do with the app on the server I get this error and I can't find any information anywhere.
Call to undefined method Illuminate\Routing\RouteFileRegistrar::get()
And this is the line that fails:
$this->get('login', 'Auth\LoginController@showLoginForm')->name('login');
Thanks in advance!
$this
? Where is the line located? – RyonRoute::get
instead, per the docs? – Ryon$this
instead ofRoute::
. – Ryon$this->router->get
appears to work. Looks like some internals shuffling around. – Ryon