Function _load_textdomain_just_in_time was called incorrectly

[ad_1]

Hi,

With the upcoming WP 6.7 (currently in beta) a PHP notice is thrown if load_plugin_textdomain() is not loaded in “init” hook:

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the posts-data-table 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 for more information. (This message was added in version 6.7.0.) in wp-includes/functions.php on line 6099

Could you fix it? Thanks!

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer