Resolved
Reported for: WooCommerce Multilingual & Multicurrency 5.3.1
Resolved in: WCML 5.3.2
Overview of the issue
When purchasing a product in a secondary language, the user may be redirected to the ‘order-received’ page in the main language. This issue can occur if the checkout page includes the ‘Classic Checkout’ block or the ‘woocommerce_checkout’ shortcode.
Workaround
Our team is actively working on resolving this issue. In the meantime, you can use the following workaround:
- Open the wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php file
- Around line 128, Change:
\WCML\OrderNotes\Hooks::class,
- For
//\WCML\OrderNotes\Hooks::class,
Uf This is too much for me. Need I go to cpanel ?? Maybe I can give you access to cpanel ?
Uf This is too much for me. Need I go to cpanel ?? Maybe I can give you access to cpanel ? I do but sorry not solve problem
\WCML\Rest\Store\HooksFactory::class,
\WCML\Importer\Products::class,
\WCML\COT\Hooks::class,
\WCML\DisplayAsTranslated\FrontendHooksFactory::class,
//\WCML\OrderNotes\Hooks::class,
\WCML\User\Hooks::class,
\WCML\Exporter\AllLanguagesHooks::class,
\WCML\Exporter\AttributeHeadersHooks::class,
];
Hey there,
This issue should have been solved with WCML 5.3.2 which was release yesterday.
Please make a full backup of your site and update this extension.
Thank you for your report!
Hi,
i am solving exactly the same problem, it is possible to do some hotfix?
Hello Zybnek,
This issue should have been solved with WCML 5.3.2 which was release yesterday.
Please make a full backup of your site and update this extension.
I hope it helps.
Sorry I upgrade but doesn’t work
I’m sorry to hear that. In that case, please open a chat in our assistance channel as it may a different variation from the issue here reported.
I do not understand you exactly what I should do, but in open ticket buvart.eu Error on page you have everything very clearly explain.
and Mr. Muhamed have an access to shop admin.
On short way It I add product on basket and click I received an error 404 but only in Slovenia, Italian, Germany languages not in English or French work fine.
Because I wait 7 days please hurry.
Last comment from my host A2:
Thank you for this update. I will be glad to help with buvart.eu. Per the attached screenshot, the cart loads without error using the Slovenian language. When using the Italian language, I do see the 404 error.
Your WordPress installation has plugin updates that are needed, that may be contributing to the problem, as well as making your site less secure. You may want to make sure all elements of the site are updated, and then test again.
If the issue persists after that, you may want to disable all plugins except the language plugin, to see if the cart loads as expected with only the needed plugins enabled. If it does, it may suggest there is a plugin conflict happening, causing the issue. You can re-enable each plugin one by one, testing the cart between each, to see which plugin is causing the conflict and then leave it disabled, replace it, etc.
Please give the above a try and let us know if you have more questions.
I received a following comment of my host
Hello Robert,
Thank you for providing additional details. I sincerely apologize for the inconvenience you’re experiencing with your website. I understand the importance of having a smoothly running website, and I’m committed to assisting you.
Upon thorough investigation, I’ve identified that the 404 error you’re encountering is attributed to the plugin you are currently using. Please refer to the attached snippet for your convenience.
[14-Dec-2023 09:56:46 UTC] PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/buvartne/buvart.eu/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/class-wpml-ate-proxy.php on line 128
To address this issue, I recommend reaching out to the plugin’s vendor or developer for further assistance.
If your developer or consultant identifies any necessary server-related changes to meet your requirements, please inform us, and we will be more than happy to address those needs.g comment on my host. Please check
Thank you for your host information. However, as I mentioned before, we need to investigate your case. Could you please open a chat in our assistance channel?
I’ll add this time the link separately to avoid any confusion:
https://wpml.org/forums/forum/english-support/
Thank you for your help.