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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 8:00 – 15:00 -
- 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 16:00 – 17:00 -

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

Tagged: 

This topic contains 14 replies, has 3 voices.

Last updated by Alejandro 1 year, 8 months ago.

Assisted by: Alejandro.

Author Posts
August 14, 2023 at 9:17 am #14196195

Florian

I am trying to:
To browse orders in woocommerce

I get a 503 error, when I check my WC-Logs, I found bellow:

2023-08-14T08:39:54+00:00 CRITICAL Maximum execution time of 180 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-content/plugins/wpml-string-translation/classes/MO/LoadedMODictionary.php on line 119

2023-08-14T08:39:56+00:00 CRITICAL Maximum execution time of 180 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 285

2023-08-14T08:40:05+00:00 CRITICAL Maximum execution time of 180 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 328

2023-08-14T08:51:12+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/entry.php on line 93

Then I increased the time to 240 seconds, and again the error:
2023-08-14T08:51:13+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/translations.php on line 165

2023-08-14T08:51:17+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 285

2023-08-14T08:51:17+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 285

2023-08-14T08:51:18+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 285

2023-08-14T08:51:19+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 286

2023-08-14T08:51:26+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/entry.php on line 100

2023-08-14T08:51:31+00:00 CRITICAL Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 287

August 14, 2023 at 10:19 am #14196485

Florian
[14-Aug-2023 09:34:37 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/streams.php on line 97
[14-Aug-2023 09:34:38 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php on line 64
[14-Aug-2023 09:34:41 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 286
[14-Aug-2023 09:34:41 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/l10n.php on line 806
[14-Aug-2023 09:34:41 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/streams.php on line 94
[14-Aug-2023 09:34:41 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/streams.php on line 97
[14-Aug-2023 09:34:43 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 286
[14-Aug-2023 09:34:54 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 328
[14-Aug-2023 09:34:58 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/translations.php on line 165
[14-Aug-2023 09:35:04 UTC] PHP Fatal error:  Maximum execution time of 240 seconds exceeded in /usr/www/users/trackiy/trackilive.com/wp-includes/pomo/mo.php on line 285
August 14, 2023 at 3:46 pm #14198597

Sumit
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi,

Thank you for contacting the support forum.
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

As I can see WPML and WP both trying to read the MO files and the process fails. Could you please disable WPML for test and see if you can access the orders page?

Also, it is possible that files in the language files are corrupted. You can resolve this
- Rename the language folder in wp-content
- Create a new languages directory in wp-content
- Go to WP > Dashboard > updates and download the language files
- Go to WPML > Support > Troubleshooting click "Show custom MO Files Pre-generation dialog box"

Thanks

August 18, 2023 at 9:14 am #14251009

Florian

Dear Sir or Madam,

Without WPML everything works without problem, but if I enable it again, the problem appears.

Also, with the second option, it didn't help. I did, at first hour it seemed working, but I am getting again the same problem.

Thanks

August 18, 2023 at 10:15 am #14251655

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

Please take a look at this erratum: https://wpml.org/errata/wordpress-6-3-performance-issues-with-string-translation-in-specific-scenarios/

It seems it fits your case and if that's so, you have 2 possible workarounds while we work to have it permanently solved.

Try them out and let me know how it goes.

August 18, 2023 at 10:28 am #14251807

Florian

Hi,

What this default domain belongs to? Is this belongs to my translations? or they are translations from the default PO files?

August 18, 2023 at 10:31 am #14251827

Alejandro
WPML Supporter since 02/2018

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

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

The "default" domain is the one that WordPress assigns a string to when no domain is defined on the gettext calls so it could be coming from any plugin or theme.

August 18, 2023 at 10:33 am #14251847

Florian

Then it doesn't seems to be the safe work, because we will loose alot of translations. Or don't you think not?

What is the safest way to downgrade the wordpress, is there any recommended by WPML?

I hope the problem will be solved soon!

August 18, 2023 at 10:39 am #14251909

Alejandro
WPML Supporter since 02/2018

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

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

If you had strings translated then yes (most of the time, people don't translate those strings because they tend to be from the back-end or from placeholders in plugin's/theme's code)

You can downgrade WordPress using a plugin like this one: https://wordpress.org/plugins/wp-downgrade/

August 18, 2023 at 10:45 am #14251935

Florian

Is there a way to check if I translated any strings for this domain? Even if it is querying from database then it will also be helpfull.

August 18, 2023 at 11:05 am #14251981

Alejandro
WPML Supporter since 02/2018

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

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

Sure you can!

You can go to WPML > String translation and you'll find a series of filters there.

You can use the one under "display" to show the translation completed ones and then select the domain "default" so you can filter by the domain and the status of the translation.

If you have some translated, then you can do a downgrade if it makes sense.

Regards.

August 18, 2023 at 11:14 am #14252039

Florian

When I select "Translation Complete" under Display, then the default domain is not available anymore in "In domain" dropdown. Does it means, I have nothing translated?

August 18, 2023 at 11:47 am #14252211

Alejandro
WPML Supporter since 02/2018

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

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

Exactly, it means there aren't strings from the "default" domain that have been translated.

To delete the strings from that domain you can scroll down in WPML > String Translation and you'll find a section "remove strings by domain" which you can use to quickly remove the domain you want.

That feature i jus mentioned is also useful when you have a lof ot domains that you don't care about, you can delete them and free space in the database tables as well.

Regards.

August 23, 2023 at 7:17 am #14274963

Florian

Hello,

Unfortunately the strings are not being removed.

When I go to ""remove strings by domain" and then select "default" then "remove" then I see "Successfully removed strings". But actually the domain is not removed, after refresh, I see the domain and the strings....

August 23, 2023 at 8:01 am #14275441

Alejandro
WPML Supporter since 02/2018

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

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

Alright, that means that the plugin that is adding the strings is constantly trying to add them back.

i'd suggest that you downgrade WordPress to version 6.2.2 for now (We have a fix for this scheduled for our next WPML version 4.6.6 which is scheduled for september).

You can do so using a plugin like: https://wordpress.org/plugins/wp-downgrade/

Would that help you? at least for now?

The topic ‘[Closed] Maximum execution time exceeded’ is closed to new replies.