Passer au contenu Passer à la barre latérale

Ce sujet est résolu. Voici une description du problème et de la solution.

Problem:
The client reported an issue with an infinite loop caused by an unused filter in the Ultimate Gift Cards for WooCommerce plugin.
Solution:
We asked the client to isolate the issue to determine if it was specific to their site configuration or a general issue with the combination of Duracelltomi Google Tag Manager & WPML. We provided a sandbox environment and instructed the client to:
1. Access the provided sandbox link.
2. Download and activate the Duracelltomi Google Tag Manager and the plugin in question.
3. Create a simple product and attempt to replicate the issue in the cart.
We also advised the client to focus only on the theme/plugin and the related functionality without setting up a full website or cloning their existing site. For further guidance on how to reproduce issues, we provided a documentation link: https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and ensuring that you have installed the latest versions of themes and plugins. If you need further assistance, please do not hesitate to open a new support ticket in the WPML support forum.

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Marqué : 

Ce sujet contient 1 réponses, a 2 voices.

Dernière mise à jour par Ilyes Il y a 1 année et 8 mois.

Assisté par: Ilyes.

Auteur Messages
mars 1, 2024 à 4:11 pm #15363948

cecileG

Hello,

I'm having an issue with the Woocommerce Multilingual plugin causing a timeout on the cart and checkout pages. Apparently, the problem is related to the "woocommerce_cart_item_product" filter, which is used by several plugins, especially by the "Duracelltomi Google Tag Manager" plugin when the wc_get_price_to_display() function is initiated.

Do you have any idea how to solve this, please?

Thanks for your help.

mars 1, 2024 à 4:53 pm #15364111

Ilyes
Supporter

Les langues: Anglais (English ) Français (Français ) Arabe (العربية )

Fuseau horaire: Pacific/Easter (GMT-05:00)

Hello,

In order to see if this issue is happening because of the configuration of your site, or just the combination of the Duracelltomi Google Tag Manager & WPML we need to isolate the issue.

I’ve created a sandbox here: lien caché

I’ve already configured WPML in 2 languages.

Please do the following:

- Open the Sandbox link mentioned above
- Download and activate Duracelltomi Google Tag Manager and plugin you are using.
- Create a simple product and try replicating the same issue in your cart

Does the issue replicate? if yes, please guide us on where we could see it.

Please note that we only need the theme/plugin and the related functionality, you don’t need to set up an entire website or clone your existing site.
https://wpml.org/faq/how-to-reproduce-issues-and-share-them-with-wpml-support/

Let me know when it is done.
Best regards,

mars 6, 2024 à 8:53 am #15377875

cecileG

We solved the problem as we found an infinite loop caused by an unused filter left in the plugin Ultimate Gift Cards for WooCommerce.
Thanks for your help.