Skip to content

Notice: Function _load_textdomain_just_in_time was called incorrectly #3108

@BhargavBhandari90

Description

@BhargavBhandari90

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)

  1. Clone the repo
  2. Run following commands:
  • yarn
  • yarn run create
  • Visit site localhost:8888
  1. See the top of the browser.

Screenshots or screen recording (optional)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting TriageIssues awaiting triage. See Training Team handbook for how to triage issues.[Type] BugSomething isn't working on the Learn website.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions