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
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 10 replies, has 0 voices.

Last updated by tommieL-3 6 hours, 53 minutes ago.

Assisted by: Bigul.

Author Posts
June 30, 2025 at 8:08 pm #17186002

tommieL-3

Background of the issue:
I am trying to ensure successful payments via WooPayments are processed correctly, but the corresponding WooCommerce orders are missing product line items. I checked both WooCommerce logs and Elementor Hosting debug logs and found repeated PHP timeout errors. Here’s the relevant error message: [30-Jun-2025 10:03:22 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-debug-backtrace.php on line 68. This indicates that the checkout process is timing out before the order is fully saved, likely due to WPML and WooCommerce interaction.

Symptoms:
PHP Fatal error: Maximum execution time of 60 seconds exceeded in /wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-debug-backtrace.php on line 68. My international customers can’t make the purchase and a few local can’t either.

Questions:
How can I resolve the PHP timeout error related to WPML?
What steps should I take to ensure WooCommerce orders are processed correctly with WPML?

June 30, 2025 at 9:48 pm #17186141

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you resolve the issue.

Please upgrade to the latest version of WooCommerce Multilingual & Multicurrency (5.5) after taking a full site backup. Then, clear all types of caches and check if the issue still exists. The latest version includes several important improvements.

https://wpml.org/download/woocommerce-multilingual-multicurrency/?section=changelog

You may have to visit Plugins >> Add New >> Commercial tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches.

--
Thanks!

Bigul

July 1, 2025 at 12:17 pm #17188474

tommieL-3

Hi! I have updated the plugins now and one international customers was kind enough to try again without luck.

July 1, 2025 at 12:25 pm #17188493

tommieL-3

Hi WPML Support,

I’m running WooCommerce on barenordic.com and encountering a critical timeout issue during checkout. Even with max_execution_time temporarily increased to 300 seconds by my hosting provider (Elementor Hosting), the process crashes with this error:

PHP Fatal error: Maximum execution time of 300 seconds exceeded
File: wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-debug-backtrace.php on line 153

This suggests a serious issue within the debug utility. It appears to be running unnecessarily during WooCommerce checkout and is causing customers to be charged without proper order creation.

Please advise:

How to permanently disable any debug/backtrace functionality in WPML.
If this is a known issue.
Whether a recent update to WPML may have introduced this.
I’d appreciate urgent help – this is affecting real transactions.

Best regards,
Tommie Larsson
barenordic.com

July 1, 2025 at 1:11 pm #17188673

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Tommie,

Thank you for the updates. This may be a compatibility issue and could be related to the following tickets.

https://wpml.org/forums/topic/maximum-execution-time-of-180-seconds-exceeded/

https://wpml.org/es/forums/topic/error-con-wpml-strings/

Would it be possible for you to create a staging site (a clone of your live site) so we can investigate further? We would like to check if the issue still occurs in a minimal setup, with only WPML, WooCommerce, and Elementor activated.

--
Thanks!

Bigul

July 3, 2025 at 12:31 pm #17197225

tommieL-3

Here is the staging: hidden link

Is this ticket private? I need you email and a password for your user

July 3, 2025 at 5:47 pm #17199030

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Tommie,

Thank you for the updates. I am enabling the private option for the next reply. Please check.

This issue is most likely caused by a compatibility conflict. So we kindly request you to try the following steps on a staging site after taking a full site backup:

a) Deactivate all plugins except WPML, WooCommerce, and Elementor (keep only the essential plugins required to reproduce the issue as active).
b) Check if the issue still occurs.
c) If the issue is resolved, start reactivating the other plugins in groups of 3–4 to identify which one is causing the conflict.

Please let us know the results. We’ll be happy to assist you further.

--
Thanks!

Bigul

July 4, 2025 at 7:35 am #17200127

tommieL-3

Hi! There seems to be the plugin Mailchimp for WooCommerce that causes the loading on card payments to not start loading. I deactivated it and managed to create an order. The loading time is still long but at least it seems to be working.

July 4, 2025 at 12:00 pm #17201423

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the feedback. To test it further, please share the credentials, including FTP access, for the staging site.

I am enabling the private option in the next reply so you can share the details securely.

--
Thanks!

Bigul

July 7, 2025 at 7:42 am #17206635

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for sharing the staging site credentials. I can access the site backend without any issues. However, the FTP credentials are not working, and it results in the following error. Could you please check and confirm?

Status:	Connecting to sftp.******.cloud:3***2...
Status:	Using username "****". 
Status:	Access denied 
Error:	Authentication failed.
Error:	Critical error: Could not connect to server

Also, please allow me to make a copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for detailed debugging in case of ticket escalation.

--
Thanks!

Bigul

July 17, 2025 at 2:15 am #17243878

tommieL-3

The ftps details on Elementor Hosting platform changes every 24 hours for security purposes. That’s why you couldn’t reach it. I have installed the Duplicator plugin atleast.

Kind regards
Tommie