WP Toolkit and Pods Issue
Wordpress 6.9.4, Pods 3.3.8 - Latest version
https://wordpress.org/plugins/pods/
I am getting warnings in my error log that are due to WP Toolkit daily task calling before wordpress is ready. I get this multiple times each morning.
The notice for timing for text domain loading in WP 6.7 and later was addressed in the Pods core plugin, so unless the requirement has regressed, the most likely cause would be an additional plugin or custom code which initializes Pods without using a hook or filter
[28-Mar-2026 12:15:10 UTC] PHP Notice: Function
_load_textdomain_just_in_time was called <strong>incorrectly</strong>.
Translation loading for the <code>pods</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/a2076/domainname.com/wp-includes/functions.php
on line 6131
===
backtrace found the culprit: Cpanel’s wp-toolkit daily task, so this will affect others.
....
{
"file": "\/home\/a2076\/test.server.com\/wp-content\/plugins\/pods\/classes\/PodsInit.php",
"line": 2505,
"function": "pods_container_register_service_provider"
},
{
"file": "\/home\/a2076\/test.server.com\/wp-includes\/class-wp-hook.php",
"line": 341,
"function": "run",
"class": "PodsInit",
"type": "->"
},
{
"file": "\/home\/a2076\/test.server.com\/wp-includes\/class-wp-hook.php",
"line": 365,
"function": "apply_filters",
"class": "WP_Hook",
"type": "->"
},
{
"file": "\/home\/a2076\/test.server.com\/wp-includes\/plugin.php",
"line": 522,
"function": "do_action",
"class": "WP_Hook",
"type": "->"
},
{
"file": "\/home\/a2076\/test.server.com\/wp-settings.php",
"line": 593,
"function": "do_action"
},
{
"file": "\/usr\/local\/cpanel\/3rdparty\/wp-toolkit\/plib\/vendor\/wp-cli\/vendor\/wp-cli\/wp-cli\/php\/WP_CLI\/Runner.php",
"line": 1394,
"args": [
"\/home\/a2076\/test.server.com\/wp-settings.php"
],
"function": "require"
},
{
"file": "\/usr\/local\/cpanel\/3rdparty\/wp-toolkit\/plib\/vendor\/wp-cli\/vendor\/wp-cli\/wp-cli\/php\/WP_CLI\/Runner.php",
"line": 1313,
"function": "load_wordpress",
"class": "WP_CLI\\Runner",
"type": "->"
},
{
"file": "\/usr\/local\/cpanel\/3rdparty\/wp-toolkit\/plib\/vendor\/wp-cli\/vendor\/wp-cli\/wp-cli\/php\/WP_CLI\/Bootstrap\/LaunchRunner.php",
"line": 28,
"function": "start",
"class": "WP_CLI\\Runner",
"type": "->"
},
{
"file": "\/usr\/local\/cpanel\/3rdparty\/wp-toolkit\/plib\/vendor\/wp-cli\/vendor\/wp-cli\/wp-cli\/php\/bootstrap.php",
"line": 84,
"function": "process",
"class": "WP_CLI\\Bootstrap\\LaunchRunner",
"type": "->"
}
This is being discussed in the wordpress forums.
https://wordpress.org/support/topic/_load_textdomain_just_in_time-warning/
-
Hey there! I'm not entirely sure what you're asking here or how this is related to cPanel. If Pods is an additional management tool I can see how that could conflict with WP Toolkit, but I'm not sure if there's something we should adjust on our side to work with that.
Can you get me more details on what specific issues this is causing?
0 -
This warning shows up only on staging server that does not get any wordpress traffic.
On our production server it works fine. Other users should make a note of this just in case they see it.
Closing this.
0
Please sign in to leave a comment.
Comments
2 comments