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 |
---|---|---|---|---|---|---|
- | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | - |
- | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | - |
Supporter timezone: Europe/Madrid (GMT+02:00)
Tagged: Exception
This topic contains 31 replies, has 0 voices.
Last updated by kamal-kishorS-2 17 hours, 8 minutes ago.
Assisted by: Carlos Rojas.
Author | Posts |
---|---|
August 22, 2025 at 11:38 am #17340409 | |
kamal-kishorS-2 |
Background of the issue: Symptoms: Questions: |
August 22, 2025 at 11:51 am #17340440 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hello, 1.- Please describe the steps you followed to translate the pages on your site. 2.- Also, I kindly ask you to follow these steps: If the issue disappeared, follow the same steps in the other pages. Looking forward to your message. |
August 25, 2025 at 2:54 am #17343683 | |
kamal-kishorS-2 |
Hi, I went to WPL->Translation Management-> Select pages and then Autotranslate I have also faced the issue that while switching between different languages, the page is throwing 404 error while same page open again if we refresh or again switch from English to that language. This 404 error coming randomly anywhere. Regards, |
August 25, 2025 at 8:15 am #17344009 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, Please share the access credentials to your site in your next message, which I have set private. This will allow me to double-check the configuration and reproduce the issue. Confirm you have created a full site backup that you can restore if necessary. Looking forward to your message. |
August 25, 2025 at 8:41 am #17344133 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Thank you, Kamal, I have flushed the cache memory, synced the menu, re-saved the permalinks, and run some troubleshooting steps. Now, I kindly ask you to update the translations of the pages where the problem can be seen and then double-check if the issue has disappeared. |
August 25, 2025 at 9:23 am #17344294 | |
kamal-kishorS-2 |
Hi, |
August 25, 2025 at 9:45 am #17344367 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, I deactivated the loading element for a moment and found an error that is causing this problem: Uncaught Error: Cannot access offset of type string on string in /home/u931733789/domains/cyan-crow-394025.hostingersite.com/public_html/wp-content/themes/steeler/inc/template-tags.php on line 1218 Call stack: get_service_grid_layout1() wp-content/themes/steeler/inc/template-tags.php:1681 steeler_get_post_grid() wp-content/themes/steeler/elementor/templates/widgets/cms_service_grid/layout1.php:81 include('/home/u931733789/dom...ice_grid/layout1.php') wp-content/plugins/liquid-custom-builder/inc/helpers/common.php:54 lcb_get_template() wp-content/plugins/liquid-custom-builder/inc/widgets/abstract-class-widget-base.php:225 Liquid_Custom_Builder_Widget_Base::render() wp-content/plugins/elementor/includes/base/controls-stack.php:2374 Elementor\Controls_Stack::render_by_mode() wp-content/plugins/elementor/includes/base/widget-base.php:636 Elementor\Widget_Base::render_content() wp-content/plugins/elementor/includes/base/widget-base.php:774 Elementor\Widget_Base::print_content() wp-content/plugins/elementor/includes/base/element-base.php:492 Elementor\Element_Base::print_element() wp-content/plugins/elementor/modules/element-cache/module.php:87 Elementor\M\E\Module::Elementor\M\E\{closure}() wp-includes/shortcodes.php:434 do_shortcode_tag() preg_replace_callback() wp-includes/shortcodes.php:273 do_shortcode() wp-content/plugins/elementor/core/base/document.php:1877 Elementor\C\B\Document::print_elements() wp-content/plugins/elementor/core/base/document.php:1210 Elementor\C\B\Document::print_elements_with_wrapper() wp-content/plugins/elementor/includes/frontend.php:1172 Elementor\Frontend::get_builder_content() wp-content/plugins/elementor/includes/frontend.php:1067 Elementor\Frontend::apply_builder_in_content() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/plugin.php:205 apply_filters() wp-includes/post-template.php:256 the_content() wp-content/themes/steeler/template-parts/content-page.php:13 require('/home/u931733789/dom...rts/content-page.php') wp-includes/template.php:812 load_template() wp-includes/template.php:745 locate_template() wp-includes/general-template.php:206 get_template_part() wp-content/themes/steeler/page.php:30 include('/home/u931733789/dom...mes/steeler/page.php') wp-includes/template-loader.php:106 require_once('/home/u931733789/dom.../template-loader.php') wp-blog-header.php:19 require('/home/u931733789/dom...l/wp-blog-header.php') index.php:17 As you can see, the error comes from the template-tags.php file on the theme. Please get in touch with the authors and ask them to check that file. |
August 25, 2025 at 10:34 am #17344579 | |
kamal-kishorS-2 |
Is 404 error also related to this? It seems related to WMPL. In the mean time, i am getting connected to theme developer, you can look into this. If i wanted to go live with default english language and make other language live post getting issue fixed, how should i proceed. Regards |
August 25, 2025 at 11:06 am #17344896 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, Yes, this seems to be related to the 404 error; however, I don't have enough information to confirm it. I don't understand your last question, but you can hide the secondary language while the issue is being fixed as described in this guide: https://wpml.org/documentation/getting-started-guide/language-setup/hiding-languages-on-the-front-end/ |
August 25, 2025 at 11:13 am #17344903 | |
kamal-kishorS-2 |
HI, hidden link Regards, |
August 25, 2025 at 11:21 am #17344939 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, I'm more than happy to help you with any issues related to the translation of the content on your site. But first, you must solve the error in the theme code so we can rule that out as a possible cause for the 404 errors. |
August 26, 2025 at 5:50 am #17346621 | |
kamal-kishorS-2 |
Hi, Pls help to resolve this issue |
August 26, 2025 at 7:52 am #17346821 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Good morning Kamal, I have deactivated the loading element in the theme options, and I can see the hidden link in all languages correctly. |
August 26, 2025 at 8:38 am #17347112 | |
kamal-kishorS-2 |
Hi Carlos Rojas, When i have changed language URL format from Different languages in directories to Language name added as a parameter, 404 error has bee stopped but when returning back to Different languages in directories, again 404 error started. Regards |
August 26, 2025 at 8:44 am #17347149 | |
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi Kamal, Please follow these steps: |