I'm currently in the middle of working on an old project of mine, nothing has changed although all of a sudden I'm seeing weird error debug page after logging in with the following:
Too few arguments to function
Illuminate\Auth\Events\Attempting::__construct(),
2 passed in /*/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php on line 583 and exactly 3 expected
The last Application Frame comes from the following:
public function handle($request, Closure $next, $guard = null)
{
if (auth()->guard($guard)->check()) {
return redirect()->route(home_route());
}
return $next($request);
}
Does anyone have any ideas? it's Laravel 5.6
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire