Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
alesconti
Posts: 11
Joined: 24 Feb 2021, 12:55

Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Post by alesconti » 17 Mar 2021, 18:04

I have enabled
'filter' => [
'tree' => [
'force-search' => 1,
parameter to permit to filter products in the current category.
But when i try to choose an attribute value, i receive the error:
Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

In attach the screenshot

thanks
Alessandro
Attachments
Schermata 2021-03-17 alle 19.03.43.png
Schermata 2021-03-17 alle 19.03.43.png (193.67 KiB) Viewed 4159 times

User avatar
aimeos
Administrator
Posts: 7922
Joined: 01 Jan 1970, 00:00

Re: Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Post by aimeos » 19 Mar 2021, 06:45

We can't reproduce the problem. What steps did you perform to trigger the error?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

alesconti
Posts: 11
Joined: 24 Feb 2021, 12:55

Re: Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Post by alesconti » 19 Mar 2021, 07:25

I simply select a category and then try to filter product with an attribute

User avatar
aimeos
Administrator
Posts: 7922
Joined: 01 Jan 1970, 00:00

Re: Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Post by aimeos » 20 Mar 2021, 14:54

We fixed it by adding the f_name parameter to the template too:
https://github.com/aimeos/ai-client-htm ... ce3604cb20

You can either add it to your own template or you can install it using:

Code: Select all

composer req aimeos/ai-client-html:2020.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star


godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

Re: Missing required parameters for [Route: aimeos_shop_tree] [URI: shop/{f_name}~{f_catid}].

Post by godadada@yahoo.com » 03 Feb 2022, 08:42

I may have encountered this issue too, using 2021.10 version:


message:"Missing required parameter for [Route: aimeos_shop_tree] [URI: shop/{site}/{f_name}~{f_catid}] [Missing parameter: f_name]."
*Exception*string:""
code:0
file:"/home/dude/small/vendor/laravel/framework/src/Illuminate/Routing/Exceptions/UrlGenerationException.php"
line:35
*Exception*trace:array(63)
*Exception*previous:null

Post Reply