Hi I got this errors in Lumen
FatalErrorException in RedirectResponse.php line 75: Call to a member function flashInput() on null
in RedirectResponse.php line 75
at Application->handleShutdown() in RegistersExceptionHandlers.php line 55
at Application->LaravelLumenConcerns{closure}()
Here the code which throws the error:
return redirect('formular')
->withErrors($validator)
->withInput();
The error comes from withInput()
See Question&Answers more detail:os