Notice: Function _load_textdomain_just_in_time was called incorrectly
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 333
- Forks
- 127
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 11
Description
Notice on the screen when we setup repo locally.
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sensei-lms 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 /var/www/html/wp-includes/functions.php on line 6121 Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jetpack 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 /var/www/html/wp-includes/functions.php on line 6121
Description
When we try to setup learn site locally by following series of command given in readme.md and when we try to access site by localhost:8888, then it shows notice on the top of the screen.
Step-by-step reproduction instructions (optional)
- Clone the repo
- Run following commands:
- yarn
- yarn run create
- Visit site localhost:8888
- See the top of the browser.
Screenshots or screen recording (optional)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the local setup from README.md with yarn, yarn run create, and localhost:8888, then inspect the notices reported from /var/www/html/wp-includes/functions.php. Done means the local Learn site loads without the early translation-loading notices for the sensei-lms and jetpack domains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100