error _load_textdomain_just_in_time with `jetpack` code
-
This warning has been reported elsewhere multiple times – it seems to affect multiple plugins. Given the mention of “jetpack” as translation domain, I think that it still affects the jetpack codebase.
Running WP 6.7.1, Jetpack 14.3 and Jetpack Protect 3.1.1 (besides other plugins)
-
Hi there,
Let’s make sure to sort it out.
The error you are facing seems to be related to Translation loading changes in WordPress 6.7. Could you please share the complete error output?
Please also temporarily deactivate all plugins except Jetpack and Jetpack Protect. Does the error persist?
- If not, re-activate plugins one by one to detect the culprit.
- If the issue persists, test with only Jetpack and only Jetpack Protect active.
Please let us know how it goes.
Thank you!
-
This reply was modified 1 month ago by
Paulina H. (a11n).
Hi there.
Here’s the complete call stack when the issue happens. I see no trace of other plugins in it.
array (
0 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/l10n.php',
'line' => 1409,
'function' => '_load_textdomain_just_in_time',
),
1 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/l10n.php',
'line' => 194,
'function' => 'get_translations_for_domain',
),
2 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/l10n.php',
'line' => 306,
'function' => 'translate',
),
3 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php',
'line' => 664,
'function' => '', ),
4 => array ( 'file' => '/var/www/website/wordpress/wp-includes/class-wp-hook.php', 'line' => 324, 'function' => 'filter_gettext', 'class' => 'Automattic\Jetpack\Assets', 'type' => '::', ),
5 => array ( 'file' => '/var/www/website/wordpress/wp-includes/plugin.php', 'line' => 205, 'function' => 'apply_filters', 'class' => 'WP_Hook', 'type' => '->', ),
6 => array ( 'file' => '/var/www/website/wordpress/wp-includes/l10n.php', 'line' => 219, 'function' => 'apply_filters', ),
7 => array ( 'file' => '/var/www/website/wordpress/wp-includes/l10n.php', 'line' => 306, 'function' => 'translate', ),
8 => array ( 'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php', 'line' => 426, 'function' => '',
),
9 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php',
'line' => 406,
'function' => 'get_html_blocked_login_message',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection_Blocked_Login_Page',
'type' => '->',
),
10 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/brute-force-protection/class-blocked-login-page.php',
'line' => 310,
'function' => 'render_recovery_form',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection_Blocked_Login_Page',
'type' => '->',
),
11 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php',
'line' => 905,
'function' => 'render_and_die',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection_Blocked_Login_Page',
'type' => '->',
),
12 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php',
'line' => 742,
'function' => 'kill_login',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection',
'type' => '->',
),
13 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-brute-force-protection.php',
'line' => 174,
'function' => 'check_login_ability',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection',
'type' => '->',
),
14 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php',
'line' => 57,
'function' => 'initialize',
'class' => 'Automattic\Jetpack\Waf\Brute_Force_Protection\Brute_Force_Protection',
'type' => '::',
),
15 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php',
'line' => 316,
'function' => 'init',
'class' => 'Automattic\Jetpack\Waf\Waf_Initializer',
'type' => '::',
),
16 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php',
'line' => 217,
'function' => 'enable_waf',
'class' => 'Automattic\Jetpack\Config',
'type' => '->',
),
17 =>
array (
'file' => '/var/www/website/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-config/src/class-config.php',
'line' => 149,
'function' => 'ensure_feature',
'class' => 'Automattic\Jetpack\Config',
'type' => '->',
),
18 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/class-wp-hook.php',
'line' => 324,
'function' => 'on_plugins_loaded',
'class' => 'Automattic\Jetpack\Config',
'type' => '->',
),
19 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/class-wp-hook.php',
'line' => 348,
'function' => 'apply_filters',
'class' => 'WP_Hook',
'type' => '->',
),
20 =>
array (
'file' => '/var/www/website/wordpress/wp-includes/plugin.php',
'line' => 517,
'function' => 'do_action',
'class' => 'WP_Hook',
'type' => '->',
),
21 =>
array (
'file' => '/var/www/website/wordpress/wp-settings.php',
'line' => 559,
'function' => 'do_action',
),
22 =>
array (
'file' => '/var/www/website/wp-config.php',
'line' => 237,
'args' =>
array (
0 => '/var/www/website/wordpress/wp-settings.php',
),
'function' => 'require_once',
),
23 =>
array (
'file' => '/var/www/website/wordpress/wp-load.php',
'line' => 55,
'args' =>
array (
0 => '/var/www/website/wp-config.php',
),
'function' => 'require_once',
),
24 =>
array (
'file' => '/var/www/website/wordpress/wp-login.php',
'line' => 12,
'args' =>
array (
0 => '/var/www/website/wordpress/wp-load.php',
),
'function' => 'require',
),
)Hi @therealgggeek –
To make sure we pass along the correct info to our development team, was this obtained when testing with other plugins other than Jetpack and Jetpack Protect disabled?
Yes. It seems to happen when some bot or other non-human visitor posts to the login page
Hi @therealgggeek –
Thanks for sharing that. At this point, the next step is to open a bug report in our GitHub repository. This will get the issue in front of our development team. You can do that at:
https://github.com/Automattic/jetpack/issues/new?template=bug-report.yml
Please fill out the report as completely as possible so that our team can reproduce the issue.
If you can share your report here once it is filed, that may help other users if they run into the same issue.
Hello @therealgggeek,
Do you have updates about that, do you still need help? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!
Hi. I recently updated to the latest version of all WP plugins, and that error is gone.
However, we are now getting the same, with translation domain “woocommerce-gateway-stripe”.
This is a bit of a whack-a-mole bug, it seems…
PS: I created a ticket for that – https://github.com/woocommerce/woocommerce-gateway-stripe/issues/4085
Hi @therealgggeek,
Thanks for the update! I’m glad to hear that updating your plugins resolved the Jetpack-related issue. From what you described, it sounds like this might be a broader compatibility issue with how WordPress 6.7 handles translations, rather than something Jetpack-specific.
Since you’re now seeing this with
woocommerce-gateway-stripe
, the WooCommerce team should be the best point of contact for that. If anything Jetpack-related pops up again, let us know—we’re happy to help!That said, I’m going to mark this thread as resolved.
- You must be logged in to reply to this topic.