Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 5 replies, has 0 voices.

Last updated by Shekhar Bhandari 1 month, 2 weeks ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 29, 2024 at 10:50 pm #16551929

sharonB-13

Background of the issue:
I am working on a site under development and have activated debug mode to fix website errors. I encountered several PHP Notices indicating that the function _load_textdomain_just_in_time was called incorrectly. Translation loading for various domains like elementor, query-monitor, ad-inserter, download-manager, and visibility-logic-elementor was triggered too early. The error suggests that translations should be loaded at the init action or later. More information can be found at https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/. This message was added in version 6.7.0.

Symptoms:
PHP Notices about incorrect function calls for translation loading being triggered too early for multiple domains.

Questions:
Is there a way to fix the translation loading errors?
How can I ensure translations are loaded at the correct time?

December 30, 2024 at 7:24 am #16552256

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

Please refer to this link for the errors: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/

Let me know if this helps.

Thanks

December 30, 2024 at 7:54 am #16552281

sharonB-13

All updated and site generate constantly this errors, how do i stop for now without making a hit in my translated articles?

December 30, 2024 at 7:55 am #16552282

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

You can set wp_debug to false on your wp-config.php file to hide this notices.

Thanks

December 30, 2024 at 8:31 am #16552325

sharonB-13

Does this effect my website speed ? since its always make errors, it seems like it make loading time problems.

December 30, 2024 at 8:43 am #16552340

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

To the best of my knowledge, it shouldn't have much of an impact. I recommend disabling it.

Thanks!

The topic ‘[Closed] Translation errors on debug’ is closed to new replies.