Skip to content Skip to sidebar

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

Problem:
After updating WordPress to the latest version, critical errors occurred on some WooCommerce product pages, specifically on translated products. Errors included 'Maximum execution time of 30 seconds exceeded' and issues in various files related to WPML and WooCommerce Multilingual (WCML).
Solution:
1. Roll back WordPress to the previous version to stabilize the site temporarily.
2. Create a staging site using the WP Staging plugin to safely test updates without affecting the live site. This allows for isolating the problem and testing solutions without risk.
3. Provide debug information and access to the staging site to the WPML support team for further analysis and assistance.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend opening a new support ticket. Additionally, please check the related known issues and ensure you have the latest versions of themes and plugins installed. For further assistance, you can always contact us through the WPML support forum.

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 7 replies, has 1 voice.

Last updated by Carlos Rojas 1 month ago.

Assisted by: Carlos Rojas.

Author Posts
December 2, 2025 at 10:16 pm #17628605

faridi-3

Hello WPML Support Team,

After updating WordPress to the latest version, I started experiencing critical errors on certain product pages in my WooCommerce store. The issues occur only on a few products, both with and without variations. All plugins, including WooCommerce, WPML, and WooCommerce Multilingual (WCML), are up-to-date.

Error details include:

Some product pages fail to load with a “Maximum execution time of 30 seconds exceeded” error.

Other errors reference these files:

/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php

/wp-content/plugins/woocommerce-multilingual/classes/media/class-wcml-product-image-filter.php

/wp-includes/class-wpdb.php

/wp-content/plugins/woocommerce/src/Admin/API/Init.php

The errors appear immediately after updating WordPress, suggesting a compatibility issue between WPML/WCML and the latest WordPress core when processing product metadata, translation fields, or images.

Could you please advise on:

How to safely fix these errors for the affected products.

Ensuring full compatibility of WPML/WCML with the latest WordPress version.

Any temporary workarounds to prevent critical errors while browsing or editing affected products.

Thank you for your support.

December 2, 2025 at 11:03 pm #17628681

faridi-3

The issue occurs immediately after updating WordPress, while WooCommerce and WPML are up-to-date. Only translated products show errors; un-translated products work fine.

December 3, 2025 at 8:15 am #17629514

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- Please share the URL of one of the products where the issue appears.

2.- Also, please share the site debug information as described in this guide: https://wpml.org/faq/provide-debug-information-faster-support/
This will provide us with information to understand the site and its environment.

Looking forward to your message.
Regards,
Carlos

December 3, 2025 at 4:25 pm #17631690

faridi-3

Hello WPML Support Team,

Our website is live and currently active. I recently updated WordPress to the latest version, and after the update, some single product pages started showing errors. I have captured screenshots of the errors and attached them to this message for your reference.

To ensure the website continues to function properly, I have temporarily rolled back WordPress to the previous version. The site is now running smoothly again, but I would like your guidance on how to make WPML fully compatible with the latest WordPress version so that I can safely update it without issues.

Thank you for your assistance.

Ekran görüntüsü 2025-12-03 182128.png
Ekran görüntüsü 2025-12-03 182144.png
Ekran görüntüsü 2025-12-03 182207.png
December 3, 2025 at 4:39 pm #17631795

faridi-3

Our websites are live and currently active. After updating WordPress to the latest version on both of our sites, some single product pages started showing errors. I have captured screenshots of the errors and attached them for your reference.

To ensure both websites continue to function properly, I have temporarily rolled back WordPress to the previous version. The sites are now running smoothly again, but I would like your guidance on how to make WPML fully compatible with the latest WordPress version so that I can safely update both websites without issues.

December 4, 2025 at 9:12 am #17633138

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you very much for your message

In this case, and to avoid breaking the live site, I kindly ask you to create a staging site with a copy of the production site (you can use the WP Staging plugin for free) and share the access credentials in your next message, which I have set private.

This will allow us to reproduce the issue, double-check the configuration and run any necessary tests to isolate the cause of the problem.

Looking forward to your message.

December 4, 2025 at 5:37 pm #17635809

faridi-3

I solved the problem, thank you

December 4, 2025 at 5:37 pm #17635810

faridi-3

I solved the problem, thank you

December 5, 2025 at 9:32 am #17637436

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+01:00)

Great!

Please don't hesitate to contact us if you need our assistance in the future with WPML. We are here to help 🙂