getAlby / getAlby/lightning-publisher-wordpress

WP Error - _load_textdomain_just_in_time was called incorrectly

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
22
Forks
14
PR merge metrics
No merged PRs in 30d

Description

With debug mode on, the plugin throws the following Word{ress warning:

`Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the lnp-alby 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.)
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating where the lnp-alby translation domain is loaded and trace when that code runs relative to WordPress initialization. Reproduce the warning with debug mode enabled on WordPress 6.7 or later; done means the notice no longer appears and translations still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.