Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to synchronize the menu using WPML, experiencing a continuous processing issue without completion. Despite not observing a 504 error in the WordPress debug log, a PHP notice related to early translation loading was identified.
Solution:
We recommend checking the server error logs for any 504 errors, as these might not appear in the WordPress debug log but are typically generated by the server. Additionally, consider increasing the server limits temporarily to accommodate the demands of menu synchronization. The settings to adjust include:

max_execution_time

memory_limit

max_input_vars

Furthermore, attempt the synchronization using only the WPML plugins and a default theme, such as Twenty Twenty-Four, to rule out any theme-related issues.

If these steps do not resolve the issue, we suggest visiting related known issues and verifying that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 3 replies, has 1 voice.

Last updated by Dražen 1 week, 5 days ago.

Assisted by: Dražen.

Author Posts
March 11, 2026 at 10:19 am #17888182

pedroF-15

I have installed WPML and created all .xliff files, but unable to do Menu sync, whenever I am trying it keeps on processing but nothing is happening. and I connected to the support team they said 504 error but in our WP Debug file we are not getting any 504 errors, need your support on this. is there any settings I am missing?

March 11, 2026 at 10:27 am #17888237

pedroF-15

in debug.log I found this, apart from this no 504 errors found

[11-Mar-2026 10:20:09 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /data/web/corporateconnections/wp-includes/functions.php on line 6131

March 12, 2026 at 6:43 am #17890861

pedroF-15

Hi, please let me know when I can expect the solution for this, its taking too long and we are already in live with the site.

March 13, 2026 at 7:03 am #17894350

Dražen
Supporter

Languages: English (English )

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

Hello,

A 504 error during Menu Sync usually means the process is timing out on the server before it finishes. Menu synchronization can be quite heavy if the menu contains many items, especially when WPML needs to create translations and relationships between them.

Even if you do not see a 504 entry in the WordPress debug log, the error can still happen because it is typically generated by the server and would be best to check in server error logs.

If possible, try increasing server limits temporarily:

max_execution_time

memory_limit

max_input_vars

Another helpful test would be to try the sync with only:

WPML plugins

A default theme (for example Twenty Twenty-Four).

Let me know how it goes and if you see any errors in the server logs.

Regards,
Drazen