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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 0 replies, has 0 voices.

Last updated by Andreas W. 5 days, 10 hours ago.

Assisted by: Andreas W..

Author Posts
March 26, 2025 at 8:57 am #16860928

sebastianM-71

Background of the issue:
I was trying to use the WP Menus Sync feature to automatically create translations for 10 different menus across 6 languages for our software product landing pages.

Symptoms:
The WP Menus Sync tool page gets stuck on the loading icon and never finishes loading. After some time, it shows an error screen saying 'Site could not be reached'.

Questions:
Could you please advise on how to resolve the issue with the WP Menus Sync tool getting stuck on loading?

March 26, 2025 at 9:36 am #16861372

sebastianM-71

I was suggested this:

Could you please enable error reporting on your site as I need to see the details of the error log. To enable it, open your ‘wp-config.php’ file 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 );

define( 'SCRIPT_DEBUG', true );
After adding the above code, please try to run the WP Menu Sync process again; If this process creates a debug.log file in your site's wp-content directory. Please send me its contents.

I followed that and tried to open the WP Menu Sync page. Again, it's loaded for a couple minutes and then displayed the message, that this page could not be reached. No debug file was created that i could forward according to the developer that conducted the wp-config modifications.

March 27, 2025 at 11:27 pm #16870606

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I recently escalated an issue where WPML takes more than 5 minutes to sync around 500 menu items between 10 active languages.

The time limit on your server seems to be set to 120 seconds which means that after trying to sync for 2 minutes you will receive a timeout error.

Please contact your hosting support team and ask them to change the PHP time limit on the server to at least 360 seconds or maybe even more, if possible.

Then test again and let me know the results, please.

Best regards
Andreas

March 31, 2025 at 10:57 am #16878769

sebastianM-71

Hey,

Thank you very much for the suggestion. Unfortunately, the issue remains.

The following values were modified:

PHP time limit -> 360

PHP memory limit -> 2048M

Max input time -> 360

After trying to load the WP Menus Sync website, after exactly 4 minutes the "504.0 GatewayTimeout" error message appears again.

What else could we try?

Best regards

April 1, 2025 at 2:48 pm #16883564

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.

If you are unable to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.

Best regards,
Andreas

April 3, 2025 at 8:44 am #16890523

sebastianM-71

Hello Andreas,

Thanks again for your support.

Unfortunately, we can not share a temporary access and do not have FTP. Would a video call with screen sharing help too?

Thank you!

Best regards

April 3, 2025 at 10:08 am #16891155

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

It is sadly very difficult to investigate such an issue without having access to the site. It would be ideal if you could set up a staging site and provide access.

Please send me a screenshot or video of the details found on WPML > Support.

If possible, please also enable WP DEBUG, then run WP Menus Sync and let me know if any errors were written to the debug.log file.

https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

Also, investigate the browser debug console when running WP Menus Sync for any JavaScript Errors.

hidden link