-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
status: in progressCurrently being worked onCurrently being worked ontype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Description
Description
After upgrading WordPress to version 6.7 and enabling WP_DEBUG, the following error/warning can be observed in the admin pages (at the very top, right under toolbar). This error/warning also shows up in the frontend.
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-graphql 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in wp-includes/functions.php on line 6114
Steps to reproduce
- install WordPress version 6.7 or higher
- install WPGraphQL plugin, latest version (1.29.2 at the time of writing)
- set
WP_DEBUGtotrueinwp-config.php - observe the error/warning as described earlier
Additional context
No other plugins are running. Theme is Twenty Twenty-Four.
WPGraphQL Version
1.29.2
WordPress Version
6.7.1
PHP Version
8.3.12
Additional environment details
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL.
- Yes
- My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
drmzio, Woskus and allyssonharry
Metadata
Metadata
Assignees
Labels
status: in progressCurrently being worked onCurrently being worked ontype: bugIssue that causes incorrect or unexpected behaviorIssue that causes incorrect or unexpected behavior
Type
Projects
Status
✅ Done