After installing version 1.5.0.
Closed this issue · 8 comments
Module version
1.5.0
PrestaShop version
1.7.8.3
PHP version
7.4
What went wrong?
After instralling the latest version, opening the order page will gave the next error.
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "myparcelnl_label" as such route does not exist.").
[Twig\Error\RuntimeError 0]
Reproduction steps
- installing the version 1.5.0.
- Click on order page
- See error
Relevant log output
No response
Additional context
No response
Hi @Frankyet, can you try clearing your cache? That should clear up this issue. However, that shouldn't be necessary so we'll look into it.
Hi @Frankyet When you go to Modules -> Module Manager does it say 'Upgrade' next to the MyParcel module (button to the right)? If so the error will most likely be resolved after you click 'Upgrade'.
@Frankyet we haven't been able to figure out why PrestaShop sometimes doesn't show the "Upgrade" button, but if it's there, clicking it does most likely fix this issue. If you want to force show this button you can downgrade the module version in the database:
UPDATE <DB_PREFIX>_tab SET version = '1.4.1' WHERE module = 'myparcelnl';
Then the "Upgrade" button in the Module Manager should be present. We haven't found a better solution to this so far, we're thinking about adding a button in our module's settings to force upgrade or something similar.
I hope this workaround can help you for now, this new update contains countless big improvements to the module. We'll continue looking into a better fix tomorrow.
Installed a fresh new Prestshop installation on the server and installed the Module 1.5.0., whent to the order page and also the error:
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "myparcelnl_label" as such route does not exist.").
[Twig\Error\RuntimeError 0]
🎉 This issue has been resolved in version 1.5.1 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀