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_DEBUG to true in wp-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.
Please confirm that you have disabled ALL plugins except for WPGraphQL.
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.Steps to reproduce
WP_DEBUGtotrueinwp-config.phpAdditional 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.
Please confirm that you have disabled ALL plugins except for WPGraphQL.