Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning loading translations in WP 6.7 #2807

Closed
4 tasks
brianhogg opened this issue Nov 18, 2024 · 0 comments
Closed
4 tasks

Warning loading translations in WP 6.7 #2807

brianhogg opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@brianhogg
Copy link
Contributor

Reproduction Steps

  1. With LifterLMS and WP 6.7 installed, switch the site language to something other than English (ie. Español)

Expected Behavior

Translations are loaded and there are no warnings.

Actual Behavior

A warning is displayed and the translations do not load.

CleanShot 2024-11-18 at 9  10 48@2x

Error Messages / Logs

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the lifterlms 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](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/) for more information. (This message was added in version 6.7.0.) in /Users/brianhogg/laravel/lifter2/wp-includes/functions.php on line 6114

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme
@ideadude ideadude moved this to Awaiting Triage in Development Nov 18, 2024
@ideadude ideadude self-assigned this Nov 18, 2024
@brianhogg brianhogg mentioned this issue Nov 18, 2024
4 tasks
@brianhogg brianhogg assigned brianhogg and unassigned ideadude Nov 18, 2024
@brianhogg brianhogg moved this from Awaiting Triage to Review in Progress in Development Nov 18, 2024
@github-project-automation github-project-automation bot moved this from Review in Progress to Done in Development Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants