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.

Tagged: 

This topic contains 12 replies, has 3 voices.

Last updated by Alejandro 1 year, 11 months ago.

Assisted by: Alejandro.

Author Posts
August 22, 2023 at 2:09 pm

marisP-2

Hi there,
These workarounds are not working for me.

https://wpml.org/errata/wordpress-6-3-performance-issues-with-string-translation-in-specific-scenarios/

August 22, 2023 at 3:11 pm
August 23, 2023 at 7:42 am #14275053

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

I'm about to make the cloning of your site and test what happens on ours, instead.
Nothing will happen on you end, i'm just informing you in case you notice someone is logged-in to your site.

August 23, 2023 at 7:47 am #14275155

Alejandro
WPML Supporter since 02/2018

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

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

It seems you already did the following but i couldn't find a specific confirmation on the chat.

Did you delete ALL the strings coming from the "default" domain in WPML > String Translation? and can you confirm the domain didn't return to the site and is still present in WPML > String Translation?

I saw the errors that you are getting on your site so i'll be investigating that part as well but the info i asked above will steer me in the right direction.

August 23, 2023 at 8:13 am #14275537

marisP-2

I don't know where to access the ticket Mateus is talking about.

August 23, 2023 at 9:13 am #14276379

Alejandro
WPML Supporter since 02/2018

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

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

Hi there!

Don't worry about that because i already had read and had the transcript of the changes and have debug log, had made the staging site and everything.

All that i need now is one single answer from you which is for this question:

Did you delete ALL the strings coming from the "default" domain in WPML > String Translation? and if you enable Strigng Translation at the moment, can you confirm the "default" domain didn't return to the site and is still present in WPML > String Translation?

If you don't know how to find that domain then all you have to do is WPML > String Translation > you'll see some filters there. find the one that says "domain" and search "default" there. if it's not on the list, it means it was deleted.

----------------------

P.S when moving the site i noticed the site was really slow, but i didn't check if String Translation was active. the site had just finished cloning so i'll take a look at it now.

August 23, 2023 at 9:19 am #14276439

marisP-2

Thanks, Alejandro.

Yes, yesterday in the first chat, your colleague (not Mateus) did log in and removed three strings. But said that it seems like it is not helping.

August 23, 2023 at 2:21 pm #14278961

doreenM

Hi Alejandro, i am facing the same problem on revoltab.com, deleted all the string translation with text-domain "default" and all unused in the string translation table, didnt change anything, downgrading is also not a solution for us. I tried also with different PHP Versions, 8.0 and 8.1 both facing same problems. When i disable String Translation website works faster, but with String Translation is extreme slow.

August 23, 2023 at 3:33 pm #14279247

Alejandro
WPML Supporter since 02/2018

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

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

Just so you know, i've already sent the case to our developers and i'm also trying to spot the cause.


@doreenM, let me wait on the developers to see what they say. if the other user's issue is not and edge case, then you might be suffering for the same thing but if you want, you can send me a backup of your site so i can confirm it (you may want to open a new ticket so we can handle the matter individually).

Regards.

August 24, 2023 at 9:16 am #14283049

marisP-2

Alejandro, thanks for your support. Any chance of knowing how long it might take to fix this? The issue has been there for more than a week. I need some info to say to my client, as this issue is impacting their company. Thank you.

August 24, 2023 at 1:15 pm #14285919

Alejandro
WPML Supporter since 02/2018

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

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

I'm changing the status to avoid the ticket from being closed.

1) We have found a few performance issues that appear because of changes in WordPress 6.3 regarding the translated files. these issues will be fixed in the 4.6.6 release of WPML which has maximum priority and we hope to have it launched in September.

2) We have found a few issues with WooCommerce that actually get worse with String Translation so the fix will likely be on us and WooCommerce.

3) There's still a few issues we're investigating and we will let you know about them as soon as we have more information.

-------------------


@doreenM please open a support ticket with a dump of your site if you do not have the plugins mentioned above.

August 25, 2023 at 1:12 pm #14292091

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

I have a possible solution that seemed to have helped on a clone of your site that we got for this purpose.

Please go to your "plugin" directory files and then find the following file /wpml-string-translation/classes/MO/Hooks/CustomTextDomains.php

In there, find the following code:

$addJitMoToL10nGlobal = pipe( Lst::nth( 0 ), function ( $domain ) use ( $locale ) {

and add the following code on the next line (right below i):

unset( $GLOBALS['l10n'][ $domain ] );

Save the changes and you should see things working better now.

Try it out and let me know how it goes.

August 27, 2023 at 2:52 pm #14296595

marisP-2

Thank you, Alejandro. Great work.
The site seems to be running again. When I have confirmation from my client that all is working well, I'll change the ticket status to resolved.

Thank you,
Maris

August 28, 2023 at 8:35 am #14298255

Alejandro
WPML Supporter since 02/2018

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

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

Thank you for the patience.

Just FYI, this fix and other that will address String translation and performance will be addressed in the upcoming WPML v4.6.6 release. you'll be able to safely update the plugin then (it's already in Beta version, actually, in case you want to give it a test: https://wpml.org/faq/how-to-install-beta-and-development-versions-of-wpml/ )

Regards.