 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Thank you for your clarification.
I ran several troubleshooting steps, but the issue persists, even in a minimal setup. I would like to ask your authorization to create a copy of the site to send it to our 2nd tier of suppor,t where our specialists will take a deeper look.
|
 rhettY
|
Can you do it on the test site? You can run any test and modify anything there.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi, I already ran all the possible tests on the staging site. My colleagues on the 2nd-tier need a copy of the site to run further tests in a controlled environment, which is the reason why we need a copy.
|
 rhettY
|
Ok. I have no choice. Please go ahead
|
 rhettY
|
Hi Carlos,
Please let your 2nd tier team check this ticket: https://wpml.org/forums/topic/language-switcher-will-open-to-unexpected-page/
This bugs me for some time.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi there,
I have escalated this ticket to our 2nd tier of support, where our specialists will take a deeper look at this issue and will try to find a solution.
I will get back to you as soon as I get more information.
|
 rhettY
|
Thanks.
You may have your team check this ticket too: https://wpml.org/forums/topic/php-fatal-error-uncaught-invalidargumentexception-4/
It's not solved yet:
1. sitekey not found, though I've unregistered and re-registered several time.
2. PHP Fatal error: Uncaught InvalidArgumentException: Argument $language_code must be a non empty string.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
Please disable the cache memory and contact your hosting providers to disable any cache memory that might exist on the server-side. Then double-check if the issue persists and let me know, so we can run more tests with the cache memory disabled.
|
 rhettY
|
Just disabled all cache memory in racinghobby.com site. The currency switcher issue disappears. Please check.
Cache is important for my site. Please solve the issue.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Thank you for your message.
Please add the admin-ajax.php to the cache exclude list in the LiteSpeed settings and check if the issue disappears.
|
 rhettY
|
I added admin-ajax.php in cache -> excludes -> Do Not Cache URIs. And enabled all cache memory. The issue comes back. The flags also do not display. Formerly after disabling cache, they display
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
As described in the Litespeed settings, you must add the URIs, not the name of the file. I recommend contacting the support service of Litespeed to correctly exclude the admin-ajax.php file
|
 rhettY
|
Please check this file: hidden link
I modified it to "/admin-ajax.php". This should be the correct setting.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
I created a quick video: hidden link showing that the currency switcher is working now and recommending some steps to fix the flags issue
|
 rhettY
|
I noticed you also need to click twice the default currency. Please check. In fact
I've figured out a way to solve the flag display issue. I excluded the media by adding the media classes in the media cache exlusion in litespeed.
|