Skip Navigation

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

Problem:
You are encountering translation loading errors on your website with WPML, specifically with the js_composer and instagram-feed domains. The errors indicate that translation loading was triggered too early, and should instead be loaded at the init action or later.
Solution:
First, refer to the WPML errata page that addresses this specific issue: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/.
Additionally, we have turned off the debug mode on your website, which should prevent the PHP notice from displaying. Please check if the notice has stopped appearing.

If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum 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 2 replies, has 0 voices.

Last updated by michaelD-67 3 weeks, 5 days ago.

Assisted by: Kor.

Author Posts
April 19, 2025 at 10:02 am #16948748

michaelD-67

Background of the issue:
I am trying to resolve translation errors on my website using WPML. The errors are related to the js_composer and instagram-feed domains, indicating that translation loading was triggered too early. The error messages suggest that translations should be loaded at the init action or later. The errors are appearing in the file /home/elpsgr/www/wp-includes/functions.php on line 6121.

Symptoms:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer and instagram-feed domains was triggered too early.

Questions:
How can I fix the translation loading errors for the js_composer and instagram-feed domains?
What steps should I take to ensure translations are loaded at the correct time?
Errors :
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer 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 /home/elpsgr/www/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the instagram-feed 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 /home/elpsgr/www/wp-includes/functions.php on line 6121

April 22, 2025 at 12:52 am #16952917

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

Please refer to this errata, which explains this https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

April 22, 2025 at 6:27 am #16953128

michaelD-67

Thank you!
BUT this does not SOLVE the problem because I have the latest updates of WordPress and your plugins! If this does not solved the we don't pay anymore for yours plugin! Thanks in advance!

Michael Diamantidis
Vision Computer Applications
Greece

April 22, 2025 at 7:31 am #16953413

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I'm sorry to hear about the issues. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

April 22, 2025 at 11:04 am #16954706

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I'm getting "Σφάλμα: Το συνθηματικό που δώσατε για το όνομα χρήστη vision είναι λανθασμένο." when I try to login using the credentials that you shared. Could you recheck? Also, can I have your permission to deactivate 3rd party plugins?

If you agree, please make sure to have a full backup of your Website just incase anything breaks.

April 22, 2025 at 11:24 am #16954858

michaelD-67

Sorry, Password : Vision@110992 with same user name
Backup is running always from my provider!
And yes you have permission for plugins.

April 22, 2025 at 2:33 pm #16955738

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've checked, and the PHP notices came from these two plugins Smash Balloon Instagram Feed and WPBakery Page Builder. Kindly contact the plugin author of those plugins for further assistance, and here is a screen recording for our reference. hidden link

April 22, 2025 at 2:58 pm #16955983

michaelD-67

Thank you! BUT this I already know it! The authors of these plugins said that the problem is from WPML but I can't show this because these 2 plugins are from the theme and the theme creator respons this :
Hello,

They wrote you a standard reply.

If you check their official forum

https://wpml.org/forums/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-incorrectly-2/

You will see that they did not find the solution

This is a recommendation from their side:

Thank you for contacting WPML support.

Our team is aware of these notifications; however, we could not determine if they are directly related to the WPML plugin.

We recommend waiting for each plugin to address this notification. In the meantime, you can set the debug mode to false to prevent these notifications from being bothersome.

April 22, 2025 at 3:04 pm #16956004

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked, and the issue persists even after deactivating the WPML plugin. Sorry, this is unrelated to WPML, and I hope you understand. You can show this to the plugin authors that you mentioned earlier. hidden link

April 25, 2025 at 5:46 am #16966806

michaelD-67

I can't close this BECAUSE the theme creator said that is your problem. OPEN until SOLVED! I had 15 licenses of your product in my customers and I wait a solution!

April 25, 2025 at 7:10 am #16967041

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've turned off the debug mode on your Website, and the PHP notice should not be displaying now. Could you check?

April 25, 2025 at 7:37 am #16967200

michaelD-67

Thank you for your support! My problem solved!