Back to Community

Fixing the '_load_textdomain_just_in_time' Notice in WordPress 6.7+

18 threads Sep 7, 2025 CoreFixing wordpress

Content

A common notice has been appearing for many users since the release of WordPress 6.7.0. If you see a message like Notice: Function _load_textdomain_just_in_time was called incorrectly... on your site or in your debug.log file, this guide will help you understand why it's happening and what you can do about it.

What Is This Notice?

This is a PHP notice, not a critical error. It was introduced in WordPress 6.7.0 as part of an improvement to how the software handles translations (also known as internationalization or i18n). The notice is a warning that a theme or plugin is attempting to load its translation files too early in the WordPress loading process. According to WordPress core development standards, translations should be loaded during or after the init action.

Why Am I Seeing It?

You are seeing this notice for one of two reasons:

  1. WordPress Debug Mode is Enabled: Your site's wp-config.php file has define( 'WP_DEBUG', true ); enabled, which causes all PHP notices, warnings, and errors to be displayed or logged.
  2. Your Hosting Provider is Displaying Errors: Some web servers are configured to output PHP errors directly to the browser, regardless of the WordPress debug setting.

The notice itself is triggered by code in a theme or plugin that hasn't been updated to comply with the new translation loading timing in WordPress 6.7+. Common culprits mentioned in support forums include themes like 'xstore', 'pinkmart', and 'anona', and plugins like Advanced Custom Fields (ACF), WooCommerce, Redux Framework, and Wordfence.

How to Fix It

Since the issue originates from a theme or plugin, the solution involves updating or modifying them. Here are the most effective steps to resolve the notice.

1. Update Everything

The first and most important step is to ensure your WordPress core, all themes, and all plugins are completely up to date. Many developers have already released updates to fix this compatibility issue. If an update is available for the theme or plugin named in the error message, installing it will likely resolve the problem.

2. Contact the Developer

If your themes and plugins are up to date but the notice persists, you need to report the issue to the specific developer. The notice will name the "domain" (e.g., acf, xstore, woocommerce), which identifies the responsible theme or plugin. Contact their support and provide them with the full error message. They are the only ones who can properly fix the code causing the early translation load.

3. Temporarily Disable the Notice (Advanced)

If the notice is causing visible problems on your site—such as breaking your admin login because it's outputting text before headers are sent—you can temporarily hide it. This does not fix the underlying problem but can restore site functionality while you wait for a permanent fix from a developer.

Option A: Disable WP_DEBUG
In your wp-config.php file, make sure the following lines are set:

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', false );

Option B: Configure Your Server (Contact Your Host)
If you are not comfortable editing PHP configuration files, contact your hosting provider's support and ask them to disable the display of PHP notices on your server.

4. A Note on Critical Errors and Login Issues

In some cases, these notices can combine with other errors to cause a "white screen of death" or prevent you from logging in. If this happens, you can often regain access by using your hosting provider's file manager or FTP to temporarily rename the plugin folder (e.g., from plugins to plugins.deactivate). This will disable all plugins, allowing you to log in and then reactivate them one by one to identify the culprit.

Conclusion

The _load_textdomain_just_in_time notice is a common side effect of the positive changes in WordPress 6.7. While it can be annoying, it is typically not harmful to your site's core functionality. The ultimate resolution requires action from theme and plugin developers to update their code. In the meantime, keeping software updated and temporarily disabling debug output are the best steps you can take.

Related Support Threads Support