Skip Navigation

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

Problem:
After updating WPML, the language switcher no longer appears for users who are not logged in. This issue was initially thought to be related to the WPML upgrade, but it was later identified as possibly being linked to server issues or a compatibility problem with other plugins or themes.
Solution:
1. Ensure that WPML and all other plugins are updated to the latest versions by navigating to Plugins > Add new > Commercial > click "check for updates".
2. If the problem persists, perform a compatibility check:
- Create a full website backup.
- Disable all plugins except for WPML and its add-ons.
- Check if the issue still occurs.
- If not, reactivate plugins one by one to identify the problematic plugin.
- If the issue persists with only WPML active, switch to a default WordPress theme like TwentySeventeen to test further.
3. It is recommended to perform these tests in a staging environment if possible.
If these steps do not resolve the issue, we suggest visiting the related forum topic for additional guidance.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.

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 3 replies, has 2 voices.

Last updated by Mihai Apetrei 3 months, 1 week ago.

Assisted by: Mihai Apetrei.

Author Posts
August 26, 2024 at 1:08 pm #16104623

richardK-49

<b>Background of the issue: </b>
As a not logged-in user switch the original English language to the translated Hungarian
When I'm logged in the language switcher is appears.

<b>Symptoms: </b>
This symptom came when I upgraded the WPML.

<b>Questions: </b>
I want to see the language switcher as a not logged in user.
Example:
hidden link
hidden link

Screenshot from 2024-08-26 15-11-14.png
Screenshot from 2024-08-26 15-11-28.png
August 26, 2024 at 1:12 pm #16104664

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Can you please take a look at this existing URL:
https://wpml.org/forums/topic/menu-switcher-doesnt-appear-when-logged-out-of-wp/

Please let me know how things go.

Mihai Apetrei

August 26, 2024 at 1:27 pm #16104754

richardK-49

No. It's important that before upgrade WPML the language switcher was appeared. This worked so far!
Zsolt

Screenshot from 2024-08-26 15-26-30.png
Screenshot from 2024-08-26 15-24-55.png
August 26, 2024 at 9:17 pm #16106822

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Thank you for the update, Zsolt.

I did not know that this happened after updating WPML and WordPress. At the moment, I can see that WPML for example is not on the latest version. Please go to Plugins > Add new > Commercial > click "check for updates" and update everything to the latest version.

If things still don't work as expected, this issue sounds to me like it could be either caused by server-related causes or a compatibility issue between WPML and (at least) one of the active plugins or the currently active theme.

If the issue is still happening, can you please let me know if it still happens even when only the WPML plugins are active and you are using a default WordPress theme?

Please try the following steps so that we can test for a compatibility-related issue:

- create a full website backup

- disable all plugins except WPML and its add-ons

- check if the issue is happening again

- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue

If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated

- switch to a default theme like TwentySeventeen

- try to recreate the issue now

If you have the chance, it would be best to do this in a staging (testing) environment.

Please let me know how that goes and if following any of these steps solved your issue or brought any change.

I will be waiting for your response.

August 27, 2024 at 5:56 am #16107355

richardK-49

OK, I have found the reason. It was not related to upgrade, but an inline CSS.