I have i little problem,i have a route '/product/{slug}' in the web.php file.
When i add in the redirects config array
'/product/oldSlug' => /product/newSlug i had this error:
Argument 1 passed to Symfony\Component\HttpFoundation\Response::setContent() must be of the type string or null, object given, called in /vendor/laravel/framework/src/Illuminate/Http/Response.php on line 65
Hi,
Thank you for this package!
I have i little problem,i have a route '/product/{slug}' in the web.php file.
When i add in the redirects config array '/product/oldSlug' => /product/newSlug i had this error:
Argument 1 passed to Symfony\Component\HttpFoundation\Response::setContent() must be of the type string or null, object given, called in /vendor/laravel/framework/src/Illuminate/Http/Response.php on line 65
When i comment the route everything works.
Php 7.4 Laravel 8.3
Tnx!