Hi I am getting this error after updating:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/grahamcd/public_html/wp-includes/functions.php on line 6121
I’m seeing the same issue. I just updated to WordPress 6.8. I’m using ACF Pro with a custom hybrid theme (uses the Block Editor but not the Site Editor).
Same here. Just updated, just started getting the error.
Hey folks,
If you’re getting this error, and you’ve upgraded to ACF 6.4.0, it means you’ve code in your custom plugins or theme that is forcing ACF to initialise too early.
This is likely to be called like get_field
or acf_add_options_page
.
Once you’ve found the ACF calls which are happening too early, you can wrap the code in:
add_action('acf/init', function() { [existing code] });
to resolve this error.
Thanks,
Liam