-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unknown named parameter" on routings with parameters #29
Comments
A-a-a-and the fix for this is to convert the WPEmerge\Helpers\Handler execute function as follows :
|
Hmmm ... is this project still alive at all ? |
Hey @lllopo , I've missed to update the issue - a fix for this is already in |
@atanas-dev could this be released please? what issues might it cause as it fixes the problem? |
@codemonkeynorth this fix is included in the 0.17.0 release. |
Version
Expected behavior
Routings with parameters should work.
Actual behavior
Looks like they don't (I think because of with PHP 8). At least I don't see the error in my code if any. I'm getting : "Unknown named parameter $num1" in HttpKernel.php on line 177.
Steps to reproduce (in case of a bug)
Create a routing of the type :
App::route()->get()->url('/joro-test/{num1}/{num2}')->handle('TestController@check');
Controller looks like this :
Comments : I see similar complaints with Symfony routing, which is similar.
The text was updated successfully, but these errors were encountered: