Skip Navigation

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.

This topic contains 54 replies, has 2 voices.

Last updated by basv-25 1 year, 8 months ago.

Assisted by: Andreas W..

Author Posts
June 8, 2023 at 6:08 pm #13794987

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I can sadly not longer log into the Staging Site.

Could you maybe take a backup of the folder /wp-content/ and send it to me together with a SQL dump file of the database?

This way I can try to replicate the site on localhost and see if I can recreate the issue.

Best regards
Andreas

June 8, 2023 at 8:59 pm
June 9, 2023 at 1:16 am #13796335

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hallo,

Auf dem Staging habe ich auf das Twenty twenty One Theme gewechselt und alles bis auf WooCommerce, WPML und unseren Addons deaktiviert.

Ich sehe das Problem auf dem Produkt "product-with-review " weiterhin.

Auf der Kopie "product-with-review (Copy)", welche ich von diesem Produkt angelegt habe, funktioniert der Speichervorgang, allerdings benötigt WPML hier etwa 30 Sekunden um die 12 Duplikate dieses Produktes (inkl. Reviews) gleichzeitig zu aktualisieren.

Kannst Du dies auf Deiner Live Site bitte einmal testen?

1) Führe die Synchronisierung von Taxonomien der Produkte und Variationen unter WPML > Support > Fehlerbehbung durch.

2) Dupliziere das betroffene Produkte.

3) Editiere das Duplikat und speichere es - es sollte innerhalb von etwa 30 Sekunden speichern.

Frage:

Betrifft dieses Problem mehrere Produkte auf Deiner Live Site und sollen hier die Produkte in allen Sprachen dupliziert werden?

Beachte bitte, dass ich dieses Ticket aktuell in meinem Queue lassen werden, da ich versuchen werde dieses Problem auf einer neuen Test Site alleine mit WooCommerce und WPML zu replizieren.

Sollte ich es nicht replizieren können, dann kann ich anbieten zu versuchen eine manuelle Kopie der Website anuzlegen.

Sollte sich das Problem für Dich aber alleine durch die oben genannten Schritte lösen lassen, dann gib mir bitte Bescheid.

Mit freundlichen Grüßen
Andreas

June 9, 2023 at 1:33 am #13796351

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I have now removed the problematic product from the staging and the new copy that I created from that product actually does update now as usual (about 10-20 seconds).

Could you please revise this on the staging site?

Best regards
Andreas

June 9, 2023 at 6:49 am #13797041

basv-25

Hi Andreas, thank you for your efforts. The copy product indeed updates ( but this is because it has no review).

I added a review for you.

After this, I tried to update the product but it didn't work anymore.

Still hope you and your team have a solution for this.

Thanks,

June 9, 2023 at 3:37 pm #13800911

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Ok, I am about to try to recreate this issue on a test site, for which I would like to ask you for some patience.

Best regards
Andreas

June 9, 2023 at 5:13 pm #13801507

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I am not able to replicate this issue on a test site so far.

Could you please give it a try yourself?

One-Click-Login:
hidden link

Further, the reported issues are kind of confusing, as you are using in your example only duplicates (not translations) and WPML will surely not be able to duplicate any comment or review if a translation does not exist.

Also, please test on your site, if it solves the issue, if the product is at least translated into one language.

Best regards
Andreas

June 11, 2023 at 6:45 pm #13805667

basv-25

Hi Andreas, I tried to replicate the issue on the test-site but it didn't succeed. Maybe it is something with my database or a setting in woo / wpml that triggers the error.

I don't know if you have any further steps you can take. For now I have a workaround by:
- duplicating the products via Translation Management
- once duplicated, turn the "synchronize comments on duplicates" off
- editing / updating products
- when a new comment comes in I synchronize those comments via Translation Management (switch the synchronize option on, and alert duplication, switch it off again).

Not ideal but at least we can move ahead from here.

Hope you have a better solution but if not we'll keep on working lake this for the moment,

Thanks!

June 13, 2023 at 6:38 pm #13819893

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I see the issue on the Staging and there is in fact a very long load time, once WPML tries to sync the product reviews between the product duplicates.

The main problem for me is, that Kista is restricting access to the site, which for I was unable to take a copy of the site, in order to investigate the issue and test it on a local virtual server.

Now, as you can see on the dashboard of the Staging Site, there are quite many deprecated notices - it might be that we can not see the issue, as the Sandbox is not running the latest version of PHP.

You can see more details in the debug.log inside the folder /wp-content/.

Those notices affect WooCommerce and many of the used WC Addons.

Would you be able to set the server to a different PHP version like 8.0 or 7.4, to verify if the issue is maybe related to PHP 8.1.18?

Best regards
Andreas

June 13, 2023 at 6:53 pm #13819913

basv-25

Thanks for investigating further Andreas, I've just adjusted the PHP version to 8.0 (that is the oldest version Kinsta allows).

June 14, 2023 at 3:38 am #13821171

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I will remain to investigate this on your staging and get in contact once I have more details about the source of this issue.

Best regards
Andreas

June 14, 2023 at 9:41 am #13823557

basv-25

Thanks so much Andreas

June 15, 2023 at 8:35 am #13830397

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I am just writing to let you know that I am still investigating this issue and I would kindly like to ask you for some more patience.

If I will not find the reason for the issue sooner I will escalate this case towards our second tier support.

I hope for your understanding.

Best regards
Andreas

June 15, 2023 at 8:37 am #13830403

basv-25

Perfect, thanks so much Andreas

June 15, 2023 at 10:10 am #13831343

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

I can still see the issue on the Staging when testing only with WooCommerce and WPML.

Now, if I create a new product, it does actually update but it takes like 90 seconds.

At the moment I am trying to migrate your database to a local install of WordPress in order to investigate further.

I would kindly ask you for some more patience.

Best regards
Andreas