Debug.log PHP Notice: Function _load_textdomain_just_in_time was called incorrectly

The following notice is bloating the debug.log. It occurred with the last two versions: v250214 and v250419 (current)

[21-Apr-2025 17:11:39 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>s2member</code> 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 <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /home/sites/example.com/public/wp-includes/functions.php on line 6121

Yeah noticed it too. Though I think this only happens on php 8.3 or newer.

1 Like

One more reason to stay on December’s version? :grimacing:

No that surely is on any version. It happens with php 8.3 or newer (or even only 8.4?). Query monitor spits out 5-6 plugins on my website with the same problem. It’s about translations called too early

1 Like