Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Mihai Apetrei 2 days, 18 hours ago.

Assisted by: Mihai Apetrei.

Author Posts
November 25, 2024 at 10:09 pm #16442083

reyhanehr

Background of the issue:
I have 'Default flag format' in my website hidden link. I want to solve my problem because I didn't access 'switcher options, Hide languages, Make themes work multilingual, Browser language redirect, SEO Options, Theme and plugins reporting, Language filtering for AJAX operations, WPML love, Translation Feedback, Reset settings'. An error of type E_ERROR was caused in line 335 of the file /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-render.php. Error message: Uncaught ValueError: Unknown format specifier 'Ù' in /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-render.php:335 Stack trace: #0 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-render.php(335): sprintf() #1 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-render.php(119): WPML_LS_Render->post_translations_label() #2 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-admin-ui.php(288): WPML_LS_Render->get_preview() #3 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-admin-ui.php(335): WPML_LS_Admin_UI->get_all_previews() #4 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-admin-ui.php(214): WPML_LS_Admin_UI->get_main_ui_model() #5 /home/decorair/public_html/wp-includes/class-wp-hook.php(324): WPML_LS_Admin_UI->after_languages_url_format_action() #6 /home/decorair/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /home/decorair/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/languages.php(561): do_action() #9 /home/decorair/public_html/wp-admin/admin.php(293): include('/home/decorair/...') #10 {main}

Symptoms:
An error of type E_ERROR was caused in line 335 of the file /home/decorair/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-render.php. Error message: Uncaught ValueError: Unknown format specifier 'Ù'.

Questions:
How can I access the switcher options and other settings in WPML?
How do I resolve the error related to the unknown format specifier 'Ù'?

November 27, 2024 at 12:22 am #16447127

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there and thank you for reaching out.

This could be caused by a compatibility issue between WPML and (at least) one of the active plugins or the currently active theme.

Can you please create a full website backup and let me know if the issue is still happening 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

It would be best to do this in a staging (testing) environment if you can.

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

I will be waiting for your response.

Mihai Apetrei