Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
Language flag icons not showing due to LiteSpeed Cache plugin caching.
Solution:
Excluded the flag images from caching (added image css classes to the Media exclude section of LiteSpeed Cache plugin).
Relevant Documentation:

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: 

This topic contains 8 replies, has 2 voices.

Last updated by Marsel Nikolli 1 year, 4 months ago.

Assisted by: Marsel Nikolli.

Author Posts
September 26, 2023 at 12:08 pm #14466769

steveD-17

Hi,

i have some cache issue on footer we cannot see anymore the flags (i open ticket before about this.)

some pages have issue please loot screenshot : before it's work good i don't know this happen

hidden link
hidden link
hidden link
hidden link
hidden link
hidden link
hidden link

for exemple on english it's working well hidden link

September 27, 2023 at 12:07 pm #14473781

Marsel Nikolli

Hi there,

Thank you for contacting us!

From the links you sent the same issue happens with the English page as well.

I could see from your previous ticket that the issue was related to the LiteSpeed Cache plug-in.

1) Can you tell me if any configuration changes were made to the LiteSpeed Cache plug-in?

2) I suggest you first check if WPML plugins are updated (the latest version is v4.6.6), also check if any other plugin needs to be updated on your website.

3) Also if possible test if the issue happens on a staging site with a minimal setup:
- set a default WP theme
- enable WPML plugins
- enable LiteSpeed Cache plugin
* all the other plugins should be disabled.

You can test it on the live website as well but before you do:

Make a backup of your site in order to prevent any data loss.

Let me know if the issue is still happening on the staging site/minimal setup.

Regards,
Marsel

September 27, 2023 at 4:26 pm #14476065

steveD-17

i have activated lazyload maybe it's come from here ?

September 27, 2023 at 4:31 pm #14476121

steveD-17

yes it's cache issue you cannot fix ?

hidden link
here on forum there is no cache and it's work well.
there is any thing i can do something that i can copy past in lscache options to fix this issue ?

September 28, 2023 at 7:30 am #14479155

Marsel Nikolli

Hi,

Since you have activated lazyload on LS can you please:

1) Do a full cache clean from the LiteSpeed Cache plugin and see if the issue is fixed.
2) If the issue is not fixed after the full cache clean try switching the lazyload option off and see if the issue is fixed.

Let me know how it goes after you try those steps.

Regards,
Marsel

September 28, 2023 at 9:11 am #14480047

steveD-17

i try already to flush all (also lscache cloud) and it's not working.

if lazyload is not activated the images are working now in footer.

how can we fix this ? i need to lazyload to speed up my website. now traffic is growing and i need a fast website because many people start to visit it everyday.

September 28, 2023 at 1:50 pm #14482331

Marsel Nikolli

Hi,

Can you please confirm that the issue happens with ONLY the WPML Plugins and LiteSpeed Cache plugin active on your website?

You can test on a staging site with a minimal setup:
- set a default WP theme
- enable WPML plugins
- enable LiteSpeed Cache plugin
* disable all the other plugins

In case you want to test it on the live website be sure to:

Make a backup of your site in order to prevent any data loss.

Let me know if the issue is still happening in this case.

Regards,
Marsel

September 28, 2023 at 11:35 pm #14485031

steveD-17

i find the solution

now i have lazyload but not on your images. and flags in footer is working again

Capture d’écran 2023-09-29 à 06.33.41.png
September 29, 2023 at 7:08 am #14485901

Marsel Nikolli

Thank you for your response.

Happy to see that the issue is fixed, please don't hesitate to contact us if you have any other issues related to WPML.
Since the issue has been resolved, please mark this ticket as "resolved".

Regards,
Marsel