Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 5 replies, has 1 voice.

Last updated by Andreas W. 1 day, 9 hours ago.

Assisted by: Andreas W..

Author Posts
September 5, 2025 at 11:48 pm #17380562

esdayT

Background of the issue:
I am trying to solve a problem with the WPML plugin on my site hidden link.

Symptoms:
The language switcher is not showing in the header.

Questions:
How can I make the language switcher appear in the header?

September 6, 2025 at 12:06 am #17380607

esdayT

Please help to solve this problem

截屏2025-09-05 下午4.45.57.png
截屏2025-09-05 下午4.46.11.png
截屏2025-09-05 下午4.46.44.png
September 6, 2025 at 9:19 am #17380851

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Note that the language switcher will only display a language option if the translation exists or if you use the fallback settings to display original content if a translation does not exist.

At the moment, I do not see any issue regarding the language switcher on your site. Could you please provide a URL where I can view the issue?

The only issues I currently see are that some pages seem not to be translated correctly and are displaying the original content.

Best regards
Andreas

September 9, 2025 at 3:35 am #17385312

esdayT

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpml-string-translation domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/functions.php on line 6121

September 9, 2025 at 4:36 am #17385462

esdayT

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpml-string-translation domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/functions.php on line 6121
WordPress database error: [Table 'ywzmmnupub.wp_' doesn't exist]
SELECT t.term_id FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id LEFT JOIN wp_ icl_t ON icl_t.element_id = tt.term_taxonomy_id AND icl_t.element_type IN ('tax_product-category') WHERE tt.taxonomy IN ('product-category') AND ( ( icl_t.element_type IN ('tax_product-category') AND ( icl_t.language_code = 'en' OR 0 ) ) OR icl_t.element_type NOT IN ('tax_product-category') OR icl_t.element_type IS NULL ) ORDER BY t.name ASC

WordPress database error: [Table 'ywzmmnupub.wp_' doesn't exist]
SELECT COUNT(*) FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id LEFT JOIN wp_ icl_t ON icl_t.element_id = tt.term_taxonomy_id AND icl_t.element_type IN ('tax_product-category') WHERE tt.taxonomy IN ('product-category') AND ( ( icl_t.element_type IN ('tax_product-category') AND ( icl_t.language_code = 'en' OR 0 ) ) OR icl_t.element_type NOT IN ('tax_product-category') OR icl_t.element_type IS NULL )

Skip to main contentSkip to toolbar

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php:154 Stack trace: #0 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php(26): WPML_Admin_Language_Switcher->get_languages_links() #1 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4043): WPML_Admin_Language_Switcher->render() #2 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/class-wp-hook.php(324): SitePress->admin_language_switcher() #3 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/admin-bar.php(104): do_action() #6 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/class-wp-hook.php(324): wp_admin_bar_render() #7 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-admin/admin-header.php(277): do_action() #10 /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-admin/edit-tags.php(322): require_once('/home/1217751.c...') #11 {main} thrown in /home/1217751.cloudwaysapps.com/ywzmmnupub/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 154
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.

Learn more about troubleshooting WordPress.

September 9, 2025 at 2:20 pm #17387484

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

The required fields are located below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.

If you are unable to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.