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
Keyword "{id}" required for route error after upgrade to 1.7.5 #12026
Comments
Hi @espacious, Did you use the module blog block module? |
I use the blog module provided with our theme. (XpertBlog) disabling the modules have no effect, on 1.7.3.1 it's working as it should. The theme we use: |
@espacious, in the SEO & URLs page, have you any pages created related to this blog module? |
@espacious, could you please try to re-create those two pages, if the issue occurs again, could you please enable the debug mode & display her the exception displayed if you have one. |
@khouloudbelguith removing the two entries and save the SEO & URLs page gives me the same error. Keyword "{id}" required for route "xipblog-archive-wid-module" (rule: "blog/category/{rewrite}.html") After recreating those two entries (i had to put Friendly URL at least in EN, but after upgrading in first place the friendly url was empty, again i think it has nothing to do with our problem.) Just to know, if mi leave Friendly url empty i get: The URL rewrite field must be filled in either the default or English language. ...so after recreating those two entries i still get the same error. (pages are created correctly but when i hit any save button on SEO & URLs page i get the error mentioned above.) I also have already enabled Debug mode. But i cant find any clue. I have 7 (red) missing translation messages and 16 (orange) logs but all about Translations Warnings. |
@espacious, I created manually a new SEO page with PS1.7.4.2, I made an upgrade from S1.7.4.2 to PS1.7.5.0, I check this page, the friendly is not empty in English & I did not manage to reproduce your issue. Thanks! |
My shop was developed on prestashop 1.7.3.1 or eaven older. After updating many columns have an empty Friendly Url field. (as you can see on the screen above, same thing on 1.7.3.1 ver.) I see no problems when running 1.7.3.1, after updating to 1.7.5.0 as said SEO & URL's page does not get saved. I will provide more logs ... thanks |
@espacious, thanks! |
You need to add the |
Hi @khouloudbelguith, |
Hi @espacious, In the SEO & URLs page, in the Schema of URLs part, you need to add the |
Hi @khouloudbelguith, Thanks for all the support. |
Hi @espacious, Have you tried to contact the module author about this issue? |
Will do today if i find some time. Will also post some logs. Thanks |
Hi @espacious, Thanks! |
So to make it a bit more clear: Steps to reproduce: Keyword "{id}" required for route "xipblog-archive-wid-module" (rule: "blog/category/{rewrite}.html") PrestaShop version: 1.7.5.0 MySQL version: 5.6.42-cll-lve Your web browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 In php.error.log i have nothing Cache is cleared, Debug Mode enabled, no errors or warnings except some missing translations. I emailed also the theme developers. Thanks for helping. |
Hi @espacious, Thanks for this clarifications. |
@espacious, you need to check if you have an override of the Dispatcher.php class, where you can find the rule for those blog. |
Ok i think i found the solution. Thanks to all for helping. Thanks @khouloudbelguith , thanks @rdy4ever Can be marked as solved. |
Thank you very much. |
Thank you. It also solved my issue. I copied the file /modules/xipblog/xipblog.php and edited it at 3 places :
then upload it on the server to overwrite the existing file (in my case, I use a child theme so it should be copied in the child theme and not in the modules/xipblog directory) |
Great Thanks, solution is help! |
Thank you very much. |
Hello, here is my theme ttv_bigelectronics_213 |
Hi @Mokwa123, As it's not the default theme, provided by Prestashop, we can't do anything with this. |
Awesome, was able to fix this problem with these isntructions too!!!! |
After upgrading from 1.7.3.1 to 1.7.5.0 (latest) i cant save the SEO & URLs page (to recreate .htaccess), i always get this errors:
Keyword "{id}" required for route "xipblog-archive-wid-module" (rule: "blog/category/{rewrite}.html")
Keyword "{id}" required for route "xipblog-tag-wid-module" (rule: "blog/tag/{rewrite}.html")
Keyword "{id}" required for route "xipblog-single-wid-module" (rule: "blog/post/{rewrite}.html")
See atached screenshoot's.
Any ideas how to solve this?
The text was updated successfully, but these errors were encountered: