This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Compatibility
This topic contains 5 replies, has 2 voices.
Last updated by Subash Chandra Poudel 1 year, 10 months ago.
Assisted by: Subash Chandra Poudel.
Author | Posts |
---|---|
July 2, 2023 at 7:52 am #13928559 | |
anitaK-2 |
Dear Support, All of a sudden the currency switcher stopped working. When a click on a different language nothing is loaded. I am thinking that the problem could be related to the cache, therefore the caching optimization that I run on my website. I have already tried to exclude the pages with cookies wp_woocommerce_session and _wclm_dashboard_currency but this could not solve the problem. The currency switch appears to be stuck on the first language. Could you please tell me the exact JS of the currency switcher so that I can try to exclude it from caching? I would need the precise JS (java script) name. Do you have any idea on how to solve this issue? Thanks in advance, Anita |
July 3, 2023 at 7:09 pm #13936213 | |
Subash Chandra Poudel |
Hi Anita, To verify if this is a caching issue, can you please check if the currency switcher works when you are logged in to the site? If it works only when you are logged in to the site generally it could be due to caches. Can you please also let me know what caching setup/plugin/tools do you use on the site? Also, can you please go to wp-admin -> WPML -> Languages on your site and make sure the "Store a language cookie to support language filtering for AJAX" option there is enabled ? |
July 3, 2023 at 8:31 pm #13936307 | |
anitaK-2 |
Dear Subash, Thanks for your help. The currency switch does not work even when I am logged it. Still I believe that we cannot exclude that it is a cache related issue. The cache plugin is FlyingPress. I can confirm that the box related to "Store a language cookie to support language filtering for AJAX" is checked. Look forward to find a solution. |
July 4, 2023 at 5:32 pm #13944233 | |
Subash Chandra Poudel |
Thank you for the updates. To troubleshoot the issue further, I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated. I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it. IMPORTANT: Please take a complete backup of the site first to avoid data loss. ✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it in my local machine to test the issue further. |
July 5, 2023 at 5:49 pm #13953321 | |
Subash Chandra Poudel |
Hi Anita, The issue indeed seem to be Compatibility issue between the FlyingPress and WCML. I see if I deactivate FlyingPress the currency switching starts to work fine. Since the plugin is not listed in out compatibility list at https://wpml.org/plugin/ some issues might be expected. I recommend you to use a different plugin for caching that is compatible with WPML/WCML which you can filter from https://wpml.org/plugin/ and https://wpml.org/plugin-functionality/caching/ and see if it helps with the issue. Also, I recommend you contact the plugin provider and ask them to join our Go Global program linked next so that we can collaborate with the plugin provider to make it compatible with WPML/WCML. |
July 5, 2023 at 5:55 pm #13953325 | |
Subash Chandra Poudel |
Hi Anita, Also a quick update here! After my last reply I activated Flyingpress again then went to Flygingpress -> Cache and set "wp_woocommerce_session" to "Bypass cookies" and it still seems to work fine now! |