Skip to content

Argument 1 passed to Symfony\Component\HttpFoundation\InputBag::get() must be of the type string, null given #47550

Discussion options

You must be logged in to vote

The bug happens in Laravel, not in Symfony. Please report it to them.

Passing null as parameter name in InputBag::get() has never been a supported use case (it was documented as string since Symfony 2.0.0 on the bag class used at that time). So if their middleware passes null, it has a bug.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SyedGhazanfar
Comment options

Answer selected by SyedGhazanfar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants