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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

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

This topic contains 10 replies, has 2 voices.

Last updated by Bigul 8 months, 3 weeks ago.

Assisted by: Bigul.

Author Posts
October 30, 2024 at 12:33 pm #16347097
October 30, 2024 at 1:38 pm #16347468

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please check the attached images. Now the WPML>>Support>>Advanced Translation Editor>>Error Log is showing a *Gateway Timeout* error.

To track this error. Please try the following steps after a full site backup and let us know your feedback.

1) Please increase *WP Memory Limit* to *256* MB(the minimum required memory limit for WPML is *128*). Refer to the following links for more details

https://wpml.org/home/minimum-requirements/

https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php

2) Upgrade to the latest version of Elementor and Royal Elementor Addon
3) Create a simple post for testing
4) Try to translate it
5) Make sure you can complete the translation or not

--
Thanks!

Bigul

2024-10-30_15h03_09.png
2024-10-30_15h26_36.png
October 30, 2024 at 5:03 pm #16348637

stueberD

Hi Bigul

Thank you for the check in!

I already increased the php settings as described. see the screenshot...
But I can set it higher to see if it changes anything.

Im not sure if I can Update Elementor and Royal Elementor, there seems to be still some bugs, when Updating for the the other Elementor Addons...

I will add a little side and call it WPML test.
Will we lose some credits for these translations?

Thank you for the assistance.

PHP infos lamiaenergia.png
October 30, 2024 at 5:12 pm #16348666

stueberD

Hi Bigul

It directly translated my testsite after the duplication and before I made my test-text-adjustments.

you chan check it here: hidden link
and here: hidden link

and the screenshots in the uploads.

I hope that helps?
I will try to update the plugins anyways...

directly translated the page after the duplication.png
automatic translation.png
October 31, 2024 at 7:02 am #16349798

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. Please note that the WordPress Memory Limit value will not change automatically if we change the PHP Memory Limit. So please add the following code in the wp-config.php file of your site root after a site backup.

define( 'WP_MEMORY_LIMIT', '256M' );

Refer to this documentation for more details - https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php

--
Thanks!

Bigul

October 31, 2024 at 12:09 pm #16351277

stueberD

New Definition within wp-confic.php has been made.
Repeated all the steps from before (Delete the job, making a small change on DE, save the page, Adding myself as an translator)

Tried one to translate it manually as translator, had to cancel and the once as the automatic translation.
Both are stuck and dont continue.

Maybe you can check the issues?

define.png
October 31, 2024 at 4:36 pm #16352803

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Please create a test post or page (a basic one). Then make sure the issue exists the new one or not.

Also, please share the WordPress debug.log (not WPML debug information) with us so we can collect more details. Refer to these docs for instructions.

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

Then the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

November 5, 2024 at 12:40 pm #16366628

stueberD

Hi Bigul

I tested it on a new Page, and the translation is working, see "screenshot testing"
I tried checking the error logs, but can't find them in the wp-content.

There was more gateway timeout errors when checking this info: hidden link
but the last log was from 2024/10/31 2:50:13 PM

Checking on the changes if the WMPL is working with the WP Memory Limit, there are differences in the wpml support page, see "Screenshot wpml support".

I sent the issue to the hosting, for them to check the WP Memory Limit and informed about the "konstanten", see screenshot "wp konstanten".

It might still be a memory error.

Will try to find the debug log in the wp-content folder.
Or are there other points I need to check?
Thank you!

wpml support.png
wp konstanten.png
testing.png
sitehealth.png
cyon.png
config php.png
November 6, 2024 at 5:00 pm #16374114

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. Just to make sure, does it happen with multiple pages (other than the homepage)?

Please check if you are getting any error or warning related to WPML in the *wp-content/debug.log* file. Also, please check the following with your hosting team.

a) Are you getting any errors related to WPML in the server error log while having this bug

b) Is your hosting firewall blocking WPML? Refer to this article for more details - https://wpml.org/faq/wpml-plugin-cannot-connect-to-wpml-org/

--
Thanks!

Bigul

November 7, 2024 at 3:36 pm #16378791

stueberD

Hi Bigul

The issue is only for the home page (and its duplicates used for testing)
Any other sites and test sites are working fine.

a) I dont find the error logs in the wp-content/debug.log.
The hosting team is informed, there are no error logs in their statistic to the webseite either.

The only error log I found is the one from 31.10. see screenshot: hidden link

{"url":"https:\/\/ate.wpml.org\/api\/wpml\/sync\/all","requestArgs":{"method":"POST","body":{"ids":["118144919"]}},"status":504}

b) The webiste is connected to wpml, see in the screenshot.

The hosting informed me the PHP and WP Limit are both updated, they adjusted it directly, but as you can see in screenshot "wplimit-error" the 40M are still an issue.
I asked the hosting to upload an errorlog in the servers filemanager.

wpml error.png
wplimit-error.png
installer-support.png
November 8, 2024 at 7:35 am #16380782

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the details. Please allow me to make a copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the bug without affecting your live site.

--
Thanks!

Bigul

The topic ‘[Closed] Gateway Timeout error’ is closed to new replies.