Jump to content

categorys menu thumb image breaking error


claus@side-walk.dk

Recommended Posts

if you upload 3 images to a categorys menu thumb and try to delete them in debug mode you get:

 

An exception has been thrown during the rendering of a template ("Parameter "menuThumbnailId" for route "admin_categories_delete_menu_thumbnail" must match "0|1|2 menu thumbnails only have 3 fixed ids" ("2" given) to generate a corresponding URL.").

 

the solution:

in \src\PrestaShopBundle\Resources\config\routing\admin\sell\catalog\categories.yml

change

menuThumbnailId: 0|1|2  menu thumbnails only have 3 fixed ids

to

menuThumbnailId: 0|1|2|3  menu thumbnails only have 3 fixed ids

 

??? but Bob's your uncle

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...