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.
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?
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 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.
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.
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.
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.