Skip Navigation

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

Problem:

The client reported errors related to the function

_load_textdomain_just_in_time()

being called incorrectly in various plugins, indicating that translation loading was triggered too early, which should ideally happen at the init action or later.

Solution:

We acknowledged that this is a known issue and our developers are currently addressing it. We recommended the client to refer to our Errata and support forum for more details:

We advised the client to upgrade to the latest versions of all relevant plugins, including WooCommerce (9.4.3) and WPML String Translation (3.2.17), after ensuring a full site backup. This step is crucial to verify if the issue still persists.

If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your case, we highly 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 continues, 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 1 reply, has 0 voices.

Last updated by Bigul 2 months, 3 weeks ago.

Assisted by: Bigul.

Author Posts
December 9, 2024 at 4:01 am #16490827

veronicaA-10

Hi Bigul,

the last 3 errors are:
Caller Componente
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check 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.)
_load_textdomain_just_in_time()
Plugin: health-check
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the login-customizer 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.)
_load_textdomain_just_in_time()
Plugin: login-customizer
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the viva-wallet-for-woocommerce 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.)
_load_textdomain_just_in_time()
Plugin: viva-wallet-for-woocommerce

no other error from wpml

December 9, 2024 at 4:15 am #16490876

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please note that this is a known issue and our developers are currently working on this. Refer to the following Errata and ticket links for more details.

https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

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

So please upgrade to the latest version of plugins including WooCommerce (9.4.3) and WPML String Translation (3.2.17) after a full site backup {mandatory}. Then make sure this bug exists or not.

--
Thanks!

Bigul