[buddypress-trac] [BuddyPress Trac] #9264: Fix _load_textdomain_just_in_time issues with 6.7 and bbpress
buddypress-trac
noreply at wordpress.org
Sat Dec 21 02:41:10 UTC 2024
#9264: Fix _load_textdomain_just_in_time issues with 6.7 and bbpress
--------------------------+-----------------------------
Reporter: shawfactor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
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
)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9264>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list