Skip to content

Function _load_textdomain_just_in_time was called incorrectly. #918

@vytisbulkevicius

Description

@vytisbulkevicius

Description

We get the same notice as for other plugins in OrbitFox and need to fix it.

Notice: Function _load_textdomain_just_in_time was called incorrectly.

Translation loading for the themeisle-companion 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.

Step-by-step reproduction instructions

  1. Enable debugging mode.
  2. Check website.

Screenshots, screen recording, code snippet or Help Scout ticket

No response

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions