distantnative / retour-for-kirby

Kirby CMS plugin to manage redirects and track 404s right from the Panel
https://distantnative.com/retour-for-kirby/
MIT License
135 stars 15 forks source link

[4.0.0-beta.1] Post route not working after update #243

Closed guidoferreyra closed 2 years ago

guidoferreyra commented 3 years ago

Describe the bug

After the update, a route in my config file that uses POST as method is not working anymore and I get the following error:

Argument 4 passed to Kirby\Cms\App::distantnative\Retour\{closure}() must be of the type string or null, array given

Expected behavior

Its not supposed that Retour works here, there is no route or something related to this. And the route was working before the update.

Specifications

distantnative commented 3 years ago

Thanks, already know where the problem lies!

distantnative commented 2 years ago

This should be solved in the first beta. Please help me test the beta, so that we can make sure that the actual release works properly.