Opened 7 weeks ago
Last modified 6 weeks ago
#9264 new defect (bug)
Fix _load_textdomain_just_in_time issues with 6.7 and bbpress
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | needs-patch |
Cc: |
Description
Team,
I'm posting on here as I think this is a issue with the core code and its interactions between admin-ajax.php, buddyress and bbpress
I am getting doing_it_wrong_run warnings on admin-ajax.php requests and its seems to be and interaction between buddypress and bbpress. Here is the warning and the relevant part of the stack trace. I am posting on here rather than the BBpress trac as I think looking at the trace that the issue is caused by buddypress.
ut am hapy to post there. Obviously only a warning but should be fixed eventually
Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>bbpress</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 //public_html/wp-includes/functions.php on line 6114
[21-Dec-2024 02:27:16 UTC] doing it wrong triggered by _load_textdomain_just_in_time on the url https://dunneworthy.com/wp-admin/admin-ajax.php?action=async_litespeed&nonce=geoPLGmbCwRhY6HujnoJ3Bvnu5gBWTfu&litespeed_type=imgoptm
[8] => Array
(
[file] => /*/public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php
[line] => 45
[function] => esc_html
)
[9] => Array
(
[file] => /*/public_html/wp-content/plugins/bbpress/includes/core/extend.php
[line] => 75
[function] => construct
[class] => BBP_Forums_Component
[type] => ->
)
[10] => Array
(
[file] => /*/public_html/wp-includes/class-wp-hook.php
[line] => 324
[function] => bbp_setup_buddypress
)
[11] => Array
(
[file] => /*/public_html/wp-includes/class-wp-hook.php
[line] => 348
[function] => apply_filters
[class] => WP_Hook
[type] => ->
)
[12] => Array
(
[file] => /*/public_html/wp-includes/plugin.php
[line] => 517
[function] => do_action
[class] => WP_Hook
[type] => ->
)
[13] => Array
(
[file] => /*/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php
[line] => 33
[function] => do_action
)
[14] => Array
(
[file] => /*/public_html/wp-includes/class-wp-hook.php
[line] => 324
[function] => bp_include
)
[15] => Array
(
[file] => /*/public_html/wp-includes/class-wp-hook.php
[line] => 348
[function] => apply_filters
[class] => WP_Hook
[type] => ->
)
[16] => Array
(
[file] => /*/public_html/wp-includes/plugin.php
[line] => 517
[function] => do_action
[class] => WP_Hook
[type] => ->
)
[17] => Array
(
[file] => /*/public_html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php
[line] => 357
[function] => do_action
)