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 1 reply, has 2 voices.

Last updated by Bruno Kos 8 months, 3 weeks ago.

Assigned support staff: Bruno Kos.

Author Posts
September 6, 2019 at 7:09 pm #4527161


I'm often getting a gateway timeout when attempting to go to Menu Sync on the backend. My timeout is set to 120 seconds but still occasionally getting it. Here's the errors I'm getting on the server log

script_filename = /www//wp-admin/admin-ajax.php curl_exec() /www/wp-includes/Requests/Transport/cURL.php:162 request() /www/wp-includes/class-requests.php:379 request() /www/wp-includes/class-http.php:384 request() /www/wp-includes/class-http.php:613 get() /www/wp-includes/http.php:170 wp_remote_get() /www/wp-content/plugins/wp-rocket/inc/classes/preload/class-full-process.php:67 task() /www/wp-content/plugins/wpml-translation-management/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php:303 handle() /www/wp-content/plugins/wpml-translation-management/vendor/a5hleyrich/wp-background-processing/classes/wp-background-process.php:177 maybe_handle() /www/wp-includes/class-wp-hook.php:286 apply_filters() /www/wp-includes/class-wp-hook.php:310 do_action() /www/wp-includes/plugin.php:465 do_action() /www/wp-admin/admin-ajax.php:188
September 9, 2019 at 9:10 am #4535061

Bruno Kos

Languages: English (English )

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


Thank you for contacting WPML support!

Is there anything else within the server logs when this happens? I am not sure I can get to any conclusion based only the line above, not sure I am seeing anything I could check documentation about.

Can you tell me if there's anything inside debug.log file also:

1. Edit wp-config.php and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

2. Reproduce the issue - try syncing the menu.

3. Locate the debug log in: /wp-content/debug.log

4. Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.

Also, what about Chrome console log, anything there? Maybe something like admin-ajax 404 or similar?

Bruno Kos

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