Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#62495 new defect (bug)

Error exist Please help

Reported by: caritatang's profile caritatang Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

I had updated the wordpress to 6.7.1-RC1-59440 and theme Astra 4.8.6.
However, there is still error here.

Notice: 呼叫 _load_textdomain_just_in_time 函式的方式不正確。Translation loading for the astra 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 init action or later. 請參閱〈WordPress 的偵錯功能〉以進一步了解相關資訊。 (這項訊息新增於 6.7.0 版) in /.../wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /.../wp-includes/functions.php:6114) in /.../wp-admin/includes/misc.php on line 1438

Warning: Cannot modify header information - headers already sent by (output started at /.../wp-includes/functions.php:6114) in /.../wp-includes/functions.php on line 7137

Warning: Cannot modify header information - headers already sent by (output started at /.../wp-includes/functions.php:6114) in /.../wp-admin/admin-header.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /.../wp-includes/functions.php:6114) in /.../wp-includes/option.php on line 1715

Warning: Cannot modify header information - headers already sent by (output started at /.../wp-includes/functions.php:6114) in /.../wp-includes/option.php on line 1716

please help.

Change History (3)

#1 @leecollings
3 weeks ago

This looks like an issue with the Astra theme, rather than WordPress core. Have you tried reaching out to the developers / support for the Astra theme?

#2 @sabernhardt
3 weeks ago

  • Description modified (diff)

#3 @abcd95
3 weeks ago

Hey @caritatang, Welcome to Trac, and thanks for bringing this up.

I could not reproduce this issue with Astra theme 4.8.6. The error messages suggest that this is related to the Astra theme loading translations too early in the WordPress loading sequence, rather than being a WordPress core issue.

We've seen similar early translation loading errors with other plugins, notably with Yoast SEO as seen in #62472.

I recommend temporarily switching to a default WordPress theme to confirm if the error persists.

Please let me know if this helps!

Note: See TracTickets for help on using tickets.