Seems like you might have forgotten to enable Session in you Lumen app?
https://lumen.laravel.com/docs/5.1/session https://lumen.laravel.com/docs/5.2/middleware
I have done this in my Lumen-Project:
return redirect('formular')
->withErrors($validator)
->withInput();
And got this Errors:
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->Laravel\Lumen\Concerns{closure}()
FatalErrorException in RedirectResponse.php line 119:
Call to a member function flash() on null in RedirectResponse.php line 119
at Application->handleShutdown() in RegistersExceptionHandlers.php line 55
at Application->Laravel\Lumen\Concerns\{closure}()
Please or to participate in this conversation.