Is anyone else seeing this error in their console. I'm getting it site-wide. Should be a quick fix for FF.
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the formidable-acf 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.)
Please login or Register to submit your answer
Staff replied 5 months ago
Hi Cemil,
Yes, that warning stems from WordPress 6.7.0’s stricter enforcement of translation loading best practices. The message:
Function _load_textdomain_just_in_time was called incorrectly...
…indicates that the load_plugin_textdomain() function—or similar translation logic—is being executed too early, likely outside of the init hook or a later one.
If you’re seeing this tied to formidable-acf, it’s most likely coming from the Formidable ACF integration plugin, not core Formidable Forms itself.
Temporary Workaround
While it’s just a warning and won’t break site functionality, if you want to suppress it during development, you can disable WP_DEBUG_DISPLAY or use a logging mechanism instead.
Permanent Fix
Ultimately, the plugin maintainer will need to move the translation loading into a function hooked to init, plugins_loaded, or similar. For example:
add_action( 'init', function() {
load_plugin_textdomain( 'formidable-acf', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
});
I’d recommend reaching out to the Formidable support team or the developer of the add-on for an update.