Argument 1 passed to Symfony\Component\HttpFoundation\InputBag::get() must be of the type string, null given #47550
-
Hi, I got this error in my laravel project, Basically I moving laravel 5.8 to laravel 7.29 then I received this error, can anyone help me in this error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The bug happens in Laravel, not in Symfony. Please report it to them. Passing |
Beta Was this translation helpful? Give feedback.
The bug happens in Laravel, not in Symfony. Please report it to them.
Passing
null
as parameter name inInputBag::get()
has never been a supported use case (it was documented asstring
since Symfony 2.0.0 on the bag class used at that time). So if their middleware passesnull
, it has a bug.