Skip to content Skip to sidebar

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

Problem:
You are experiencing an issue where tinymce editors are not loading initially, and the content for WYSIWYG fields from ACF PRO does not load on page load. The error message indicates that the function

_load_textdomain_just_in_time

was called incorrectly, suggesting that translation loading for the acf domain was triggered too early.
Solution:
This problem is associated with the Advanced Custom Fields PRO plugin rather than WPML. We recommend updating the ACF Pro plugin to the latest version. If the issue persists, consider reporting it to their support team. Additionally, to isolate whether the issue is related to WPML, deactivate all other plugins except for WPML and observe if the problem still occurs. Ensure to back up your website and database before making these changes, and preferably, perform these tests on a staging or development site to avoid affecting your live site.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket with us for further assistance.

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

Last updated by Waqas Bin Hasan 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 22, 2025 at 10:46 am #17258746

oliverC-12

Background of the issue:
I am trying to use the QueryMonitor plugin and encountered an error related to the tinymce editors not loading initially. The error message is: '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. (This message was added in version 6.7.0.)' This issue affects the content loading for WYSIWYG fields from ACF PRO on page load. To work around this, I have to select the 'Text' view and refresh the page. All WPML and ACF plugin elements are updated to the latest versions. There are no console errors.

Symptoms:
The tinymce editors aren't loading initially, and the content for WYSIWYG fields from ACF PRO does not load on page load. The error message encountered is: 'Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early.'

Questions:
Is this something that you need to address on your side?

July 23, 2025 at 1:44 pm #17264162

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

As you can notice that the error is pointing to Advanced Custom Fields PRO plugin, this means it has nothing to do with WPML but the said plugin is responsible for the that _load_textdomain_just_in_time error.

This issue is known for some time and has been fixed in WPML plugins (https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/). I'll recommend updating ACF Pro to the hidden link">latest version. Or report to their support.

To further check if issue is really coming or related to the WPML, please check with only WPML plugins while all other plugins are inactive and let me know.

IMPORTANT: Please take full backup of your website and database beforehand. 

It is highly advised to try this on a staging/dev site first, so your live website isn't compromised.

Regards.