PHP error in WP 6.7: Notice: Function _load_textdomain_just_in_time was called..

Viewing 20 posts - 1 through 20 (of 20 total)
#201396

Francesco Legrenzi
Participant

Hello team =) ,

after WordPress 6.7 installation, many, many plug-ins give me the same, exact PHP error (WooCommerce, Yoast, Contact form 7, Siteground optimizer, OceanWP theme for example) . Also Download manager!

All plug-in and OceanWP theme are updated to the last version:

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the download-manager 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/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114

Why? Can you fix it?

Thank you so much!

EDIT: if you switch to ENG language (second language) these errors disappear completely . I use WPML as language plugin.

#201397

Tahasin
Moderator

Hello, Francesco

I hope this message finds you well and thanks for reaching out.

We have not experienced any such errors since the recent update. Additionally, as you mentioned, switching the language makes the error disappear. We recommend reaching out to WPML support for further assistance.

Best Regards

#201411

Francesco Legrenzi
Participant

Hello Tahasin, I’m sorry, but it’s not as WPML problem.

WooCommerce and Yoast teams are already working for the fix for WordPress 6.7.
Look at these threads:

https://wordpress.org/support/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-3/#post-18132127

https://wordpress.org/support/topic/bug-with-the-latest-version-of-wp-6-7/#post-18133599

So, when can you fix your plugin? =)

#201412

Francesco Legrenzi
Participant

Ok, WPML team answered me:

“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.”

From what I see, the bug must be fixed by each plugin team.

#201413

Francesco Legrenzi
Participant

Another update:

I see websites not multi-language with the same PHP error:

https://centrostudisapis.it/

And multi-language websites with the PHP error in both languages.

https://ageit.eu/wp/

So, it’s not WPML problem, but the problem is because each plugin.

I hope I help you!

PS: this error is crazy! Many websites broken in these last days, everywhere!

#201422

Tahasin
Moderator

We are reviewing this once again and will provide you with an update shortly.

Regards

#201424

Tahasin
Moderator

Please share wp-login credentials in a private reply.

#201425

Francesco Legrenzi
Participant

Sure!

https://www.stagingXX.francesc0legrenzi.c0m

replace XX with 25, and francesc0legrenzi.c0m “0” with “o”

Why do you need my wp-login credentials?

#201426

Tahasin
Moderator

Since we didn’t encounter this error from our end, that is why we have to check from your end

#201427

Tahasin
Moderator
This reply has been marked as private.
#201528

Francesco Legrenzi
Participant

Hello,
as you know, WP 6.7 created a lot of problems to everybody.
did you find the bug in your plugin? =)

#201531

Tahasin
Moderator

We have identified the issue on your site and updated the dev team about it. If any information comes to light, I will give you an update here.

#201559

Francesco Legrenzi
Participant

Hello Tahasin. That’s great! Thank you!

#201563

Tahasin
Moderator

This issue will be fixed in the next update.

#201694

Francesco Legrenzi
Participant

Hello,
after the new update, I still have the same problem

WP 4.7.1
DM: 3.3.03

https://www.stagingXX.francesc0legrenzi.c0m

replace XX with 25, and francesc0legrenzi.c0m “0” with “o”.

Can you help me?

#201696

Tahasin
Moderator

Okay, I am checking once again

#201698

Francesco Legrenzi
Participant

Thank you =)
If you need “help”, I’m here.

Francesco from Italy

#201699

Tahasin
Moderator

Sure

#201707

Francesco Legrenzi
Participant

Ok, I did some more deep test!

My website uses OceanWP 4.0.3 as theme and WPML Multilingual CMS v4.6.14 as translator plugin. All is update to today, November 27.

(*) With WPML Multilingual CMS v4.6.14 ON, Download Manager v3.3.03 gives me always these PHP errors (ERROR 01 and ERROR 02) in the back end only. While ERROR 01 appears only in the front-end.

(*) With WPML Multilingual CMS v4.6.14 OFF, no error at all.

——————–

ERROR 01

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the download-manager 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/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114

——————–

ERROR 02

Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/staging25.francescolegrenzi.com/public_html/wp-includes/functions.php:6114) in /home/customer/www/xxx.com/public_html/wp-admin/includes/misc.php on line 1438

——————–

If I disable Download Manager v3.3.03, no error appears in both back and front end.

So, something is wrong in Download Manager v3.3.03 with WPML.
Here the official WPML thread

PHP error WP 6.7: Notice: Function _load_textdomain_just_in_time was called

Can you fix it?

————————–

#201719

Tahasin
Moderator

We are investigating why this triggers the error message, we will give you an update shortly.

Viewing 20 posts - 1 through 20 (of 20 total)

You must be logged in to reply to this topic.