_load_textdomain_just_in_time called incorrectly

Posted in: Newspaper
Post count: 9

Hello tagDiv team,

After updating my site to WordPress 6.7, I started seeing the following notice when debugging is enabled:

Notice: _load_textdomain_just_in_time was called incorrectly.
The translation loading for the td-cloud-library text domain was triggered too early.
This usually means that some code in the plugin or theme runs before the ‘init’ action.
Translations should be loaded on or after ‘init’.
This message was added in WordPress version 6.7.0.

It seems that td-cloud-library (bundled with the Newspaper theme) is calling load_textdomain() too early — probably during file inclusion instead of on the init hook.

Could you please check this and release an update that ensures translations are loaded at the correct time (after init)?

Environment:

WordPress version: 6.7.x

Newspaper theme version: Version: 12.7.1

td-cloud-library version: Version 3.9

PHP version: 8.1

Site URL: https://www.lunil.com

Thank you for your help and for maintaining this great theme!

Best regards,

Post count: 35449

Hi,
For the problem _load_textdomain_just_in_time from td-cloud-library, please download and reinstall the plugin from here -> https://cdn.tagdiv.com/wp-content/uploads/2025/07/td-cloud-library.zip
Thank you!

Post count: 9

Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.