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
- 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: 

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:
I have translated almost all the website using WPML, and it is working as expected except for a few pages. The issue occurs when I try to open the translated pages, which keep loading. The problematic pages are: hidden link, hidden link, and hidden link. I have provided a link to a folder where the issue can be seen: hidden link.

Symptoms:
The translated pages keep loading and do not display as expected.

Questions:
Why do the translated pages keep loading indefinitely?
How can I resolve the issue with the translated pages not displaying?

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,
Thank you for contacting us

1.- Please describe the steps you followed to translate the pages on your site.

2.- Also, I kindly ask you to follow these steps:
- Edit one of the pages in the original language
- Make a small change in the content
- Save the changes
- Go to WPML -> Translation Management -> Select the content and translate it (you can automatically translate it or assign it to yourself for translation)
- Finish the translation
- Double-check if the issue has disappeared

If the issue disappeared, follow the same steps in the other pages.

Looking forward to your message.
Regards,
Carlos

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 tried making changes and saving the saving in original language and re-translate it. Issue remain same.

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,
Kamal

Screenshot 2025-08-22 at 9.02.03 PM.jpeg
Screenshot 2025-08-22 at 9.03.35 PM.jpeg
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,
Thank you for your message

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,
The issue still persist.
2 Issues as mentioned below:
1. translated Page keep loading. (hidden link)
2. I am trying to access the other lanugage version of our pages, but we are encountering 404 errors. The errors are sporadic and disappear after refreshing the page a few times. We have tested this on multiple computers and different browsers, but the issue persists. Here is a link to a page where the issue can be seen: hidden link

Screenshot 2025-08-22 at 9.02.03 PM.jpeg
Screenshot 2025-08-25 at 2.44.05 PM.jpeg
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
Kamal

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,
Pls help me to fix 404 error. This is intermittent 404s after enabling WPML + language switching. Sharing video recording for your ref.

hidden link

Regards,
Kamal

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,
Theme developer has fixed the issue and now hidden link & hidden link is opening in other languages too but still 404 error exist.
In fact, I have disabled the CDN for the website and also uninstalled the Lightspeed plugin which was being used for cache. Now cache has been flushed and website is not being cached but still 404 problem persist.

Pls help to resolve this issue

Screenshot 2025-08-26 at 10.51.25 AM.jpeg
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,
Thank you very much for your message.

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.
Pls suggest how to fix it.

Regards
Kamal

Screenshot 2025-08-26 at 2.06.23 PM.jpeg
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:
- Activate the WordPress debug mode, as described in this guide: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
- Reproduce the 404 errors
- Go to the wp-content folder -> Edit the debug.log file and check the latest errors recorded in the file
- Share the latest fatal error