Function _load_textdomain_just_in_time was called incorrectly
-
Hey,
Since 6.7 there is a notice in the plugin:
Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>pronamic-ideal</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.www.ads-software.com/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in
The actual translation that is called is https://plugins.trac.www.ads-software.com/browser/pronamic-ideal/tags/9.12.1/packages/wp-pay/core/src/Plugin.php#L312
I also reproduced the bug in WordPress Playground. (do activate the plugin, the page will crash after the rendering error)
This notice is quite annoying for local development.
Can you take a look?Thanks in advance
Jan-Willem
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.