[Resolved] WPML short switcher does not work (breakes the website)
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the WPML language switcher added to the footer with the shortcode
wpml_language_selector_widget
breaks the website instead of switching the language. Solution: 1. Ensure that any redirection plugins are deactivated as they might interfere with the language switcher. 2. Perform a full backup of the website. 3. Deactivate any cache plugins that might be causing the issue, as confirmed by the client that deactivating these resolved the problem. 4. Check if the website and the language switcher function correctly after these adjustments.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.
Background of the issue:
I am trying to switch the language using the WPML short switcher, which was added to the footer with the shortcode wpml_language_selector_widget. The issue can be seen on this page: hidden link
Symptoms:
The WPML short switcher breaks the website instead of switching the language. I expected to see hidden link.
Questions:
Why does the WPML short switcher break the website?
How can I fix the language switcher issue in the footer?
Here is the ticket, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
When I switch to your other language hidden link using the language switcher, everything looks fine for me and it's speedy now.
I've attached a screenshot for your reference. However, I noticed that the posts section is empty and it's probably because you have not translated your posts yet.