Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to use the automatic translation feature in WPML to translate your homepage into French and Dutch, but encounter issues with the homepage layout and missing slider in the translated versions. Additionally, you received error 126932055 when attempting to translate.

Solution:
First, enable debugging on your site to identify any underlying errors by adding the following code to your wp-config.php file:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);

After enabling debugging, reproduce the issue and check the debug.log file in your /wp-content/ directory for errors. For more details on debugging WPML, visit https://wpml.org/documentation/support/debugging-wpml/

In this case, a fatal PHP error related to the 'wcboost-wishlist' plugin was causing the issue. Disabling this plugin resolved the problem. Additionally, ensure that your products are set to 'Translate' instead of 'Display as translated' and translate each product accordingly.

If this solution does not resolve your issue or seems outdated, we 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 problems persist, please open a new support ticket with us for further assistance.

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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by Shekhar Bhandari 11 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
January 22, 2025 at 6:08 pm #16624681

Patrick

Background of the issue:
I am trying to use the automatic translation option in WPML to translate all pages, including the homepage, into French and Dutch. The homepage should look like hidden link but in FR and NL. The issue can be seen at hidden link.

Symptoms:
The homepage is not being translated properly, affecting the layout and template. The slider on the homepage is not showing in the translated version, although it works on the English homepage. Disabling the slider did not resolve the issue. Additionally, I received an error 126932055 when trying to auto translate from ENG to FR.

Questions:
Why is the homepage not translating properly?
What is causing the layout and template issues on the translated homepage?
Why is the slider not appearing on the translated homepage?
What does error 126932055 mean and how can I resolve it?

January 23, 2025 at 5:32 am #16625584

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

Can you let me know if you have translated the slider as mentioned here: https://wpml.org/documentation/plugins-compatibility/creating-multilingual-sliders-with-revolution-slider-and-wpml/

Further, can you let me know how the layout are assigned to pages, do you have settings inside pages where you can define the layout types?

What does error 126932055 mean and how can I resolve it?

Can you send me screenshot of this error?

Look forward to your reply.

Thanks

January 23, 2025 at 7:27 am #16625718

Patrick

Hello Shekhar,

Yes, I have translated the revolution slider accordingly as mentioned here: https://wpml.org/documentation/plugins-compatibility/creating-multilingual-sliders-with-revolution-slider-and-wpml/

I have attached the screenshot for slider settings.

RE: What does error 126932055 mean and how can I resolve it? I have attached the screenshot named: image.png

Also regarding my homepage layout when I translate my homepage into -

Dutch: hidden link
French: hidden link

the layout is disturbed. I've already shared the screenshot for layout or you can visit these links.

Also, this page layout is not correct: hidden link
hidden link

it's fine in English: hidden link

image.png
rev-slider-wpml-issue.png
January 23, 2025 at 7:32 am #16625758

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

January 23, 2025 at 8:46 am #16626237

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

On the french page, hidden link I can see the products at the bottom is not showing which is blocking the footer to be rendered and it's creating the whole issue.

I tried to enable wp_debug to see the error, but I don't have permission to modify the wp-config.php file,

So, can you please follow the below steps and share me the results.

1. Add the following code to your wp-config.php

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

https://wpml.org/documentation/support/debugging-wpml/

2. Repeat the action of creating the problem.

3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see. https://wpml.org/documentation/support/debugging-wpml/#how-to-send-debug-log-to-the-supporters

Look forward to your reply.

Thanks

January 23, 2025 at 9:23 am #16626343

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

The following fatal error is happening

 PHP Fatal error:  Uncaught Error: Call to a member function get_id() on false in /var/www/html/wp-content/plugins/wcboost-wishlist/includes/frontend.php:501
Stack trace:
#0 /var/www/html/wp-content/plugins/wcboost-wishlist/includes/frontend.php(460): WCBoost\Wishlist\Frontend->get_button_template_args()
#1 /var/www/html/wp-content/themes/sober/inc/class-sober-wc.php(1249): WCBoost\Wishlist\Frontend->loop_add_to_wishlist_button()
#2 /var/www/html/wp-includes/class-wp-hook.php(324): Sober_WooCommerce->show_product_loop_buttons()

If I disable the plugin wcboost-wishlist, the problem doesn't exist, please check once.

Also, the products are set as "Display as translated" and it seems to be like issue with it, if you set the products to translate and translate product accordingly, it should fix the issue.

I have disabled the plugin for now.

Let me know if this helps.

Thanks

January 23, 2025 at 9:35 am #16626592

Patrick

Thanks for the help Shekhar, but my slider still has one issue. But I can see only the first slide is loading in each language. Why aren't the others loading? Any idea on this how can I fix it?

January 23, 2025 at 9:57 am #16626745

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

If I change the language url format to directory, it's working, can you please check it, hidden link

Look forward to your reply.

Thanks

January 30, 2025 at 10:56 am #16650729

Patrick

Hello there, I need help regarding the display order of my categories. They are showing as expected in English, but in French and Dutch, the order is not the same.

Please see the attached screenshots.

cat_order_in_nl.png
cat_order_in_fr.png
cat_order_in_en.png
January 30, 2025 at 11:33 am #16651034

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Every ticket is reserved for resolving one specific matter, ensuring focused support, streamlined communication, and high-quality service. Therefore, please open new tickets for your other concerns.

Thanks