嗨,我在流明中遇到了这个错误
RedirectResponse.php 第 75 行中的 FatalErrorException:在 null 上调用成员函数 flashInput()
在 RedirectResponse.php 第 75 行
在 RegistersExceptionHandlers.php 第 55 行中的 Application->handleShutdown()
在 Application->Laravel\Lumen\Concerns{closure}()
这是引发错误的代码:
return redirect('formular')
->withErrors($validator)
->withInput();
错误来自 withInput()