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 10 replies, has 2 voices.

Last updated by Andrey 1 year, 10 months ago.

Assisted by: Andrey.

Author Posts
December 8, 2023 at 1:06 pm #15025857

valerieB-11

Getting 504 timeout error updated the plugins but still showing application timed out error

Had a chat with pantheon suupport team they have been telling there is slow performance issues with the plugin [0x00007f1fd4816a00] is_file() /code/wp-admin/includes/class-wp-filesystem-direct.php:418
[0x00007f1fd4816980] is_file() /code/wp-content/plugins/wpml-string-translation/classes/translation-files/Manager.php:90
[0x00007f1fd48168f0] get() /code/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:105
[0x00007f1fd4816850] loadCustomMOFile() /code/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LoadTextDomain.php:70

December 8, 2023 at 4:16 pm #15027191

valerieB-11

Our developer worked on this issue, but the problem still persists. They found this post (https://wpml.org/forums/topic/504-gateway-time-out-nginx/), which suggests changing the WordPress theme to the default to troubleshoot, which we are very reluctant to do.

Below are the steps they have taken and the error they are seeing. Could you please advise?

1.) The plugin has been updated, and no issues have been seen on the development site.

2.) We blocked two abusive IP addresses: 52.58.146.230 and 47.76.35.19 that were hitting the website repeatedly

3.) They have followed the below steps:
a. - Just to be safe, make sure to have a website backup before proceeding
- Go to WPML -> Support in your admin dashboard
- Click the \"troubleshooting\" link below the plugin versions list
- Look for the \"Clean up\" section and hit these buttons:

# Clear the cache in WPML
# Remove ghost entries from the translation tables
# Fix element_type collation
# Synchronize local job ids with ATE jobs
# Synchronize translators and translation managers with ATE
# Set language information
# Fix post type assignment for translations

4.) We are getting 504 timeout issue and checked in WPML forum and found the above post https://wpml.org/forums/topic/504-gateway-time-out-nginx/.

A screen capture of the error we are seeing is attached.

errors dristeem.png
December 11, 2023 at 1:18 pm #15037473

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

I’m sorry that you ran into trouble with this! I’ll need a little more information to see what’s happening here.

Am I correctly understanding that the problem is not occurring on the development site?

I recommend updating WordPress to the latest version and ensuring that the MySQL version meets the minimum requirements. You can find more information on this topic by visiting https://wordpress.org/about/requirements/.

If the issue still persists, I suggest temporarily deactivating all non-WPML plugins and testing the site again.

Before proceeding with any changes, please make sure to back up your database first.

December 12, 2023 at 6:56 pm #15049221

valerieB-11

Hi - Our developer confirmed that our site is using the below versions of WordPress/MySQL:
• WordPress version: 6.1.1
• Mysql verion: 10.4.25-MariaDB-log

Do the above versions meet WMPL's requirements? Is there anything you can recommend other than updating WordPress?

December 13, 2023 at 10:19 am #15052613

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Updating WordPress may not necessarily resolve your problem. However, to troubleshoot the issue best, we need to work on the latest available code. Another step is to temporarily deactivate all plugins except WPML to check the issue.

December 13, 2023 at 4:43 pm #15057655

valerieB-11

Could you please move forward with the troubleshooting without updating WordPress or temporarily deactivating all plugins except WPML? Due to the high level of customization on our site, these options are not practical and will either cost too much or carry the risk of breaking multiple points of functionality.

December 13, 2023 at 7:06 pm #15058261

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

I suggest creating a testing site where you can move your live site and perform some tests to identify the issue. It is possible that the problem may not occur on the latest version of WordPress. Customizing WordPress core files is not recommended.

After setting up a staging site, you can perform additional troubleshooting steps to resolve the issue.

Let me know how it goes.

December 13, 2023 at 7:35 pm #15058553

valerieB-11

Thank you for helping with this. Our developers have a staging site already set up. Could you list the next troubleshooting steps so I can share the steps with them?

December 15, 2023 at 3:11 pm #15074041

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Please let me know how it goes with the previous ones. So we can define the new steps if this is still not fixed.

December 19, 2023 at 3:13 pm #15094157

valerieB-11

Thank you. Please see this post in this thread from December 8:

Our developer worked on this issue, but the problem still persists. They found this post (https://wpml.org/forums/topic/504-gateway-time-out-nginx/), which suggests changing the WordPress theme to the default to troubleshoot, which we are very reluctant to do.

Below are the steps they have taken and the error they are seeing. Could you please advise?

1.) The plugin has been updated, and no issues have been seen on the development site.

2.) We blocked two abusive IP addresses: 52.58.146.230 and 47.76.35.19 that were hitting the website repeatedly

3.) They have followed the below steps:
a. - Just to be safe, make sure to have a website backup before proceeding
- Go to WPML -> Support in your admin dashboard
- Click the \"troubleshooting\" link below the plugin versions list
- Look for the \"Clean up\" section and hit these buttons:

# Clear the cache in WPML
# Remove ghost entries from the translation tables
# Fix element_type collation
# Synchronize local job ids with ATE jobs
# Synchronize translators and translation managers with ATE
# Set language information
# Fix post type assignment for translations

4.) We are getting 504 timeout issue and checked in WPML forum and found the above post https://wpml.org/forums/topic/504-gateway-time-out-nginx/.

A screen capture of the error we are seeing is attached.

15027191-errors_dristeem.png
December 22, 2023 at 8:18 am #15114659

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

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

Thank you for your feedback. Are these results recently made? Have you had a chance to update WordPress itself?