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?
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.
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.
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.
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.
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.
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.
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.
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.