_load_textdomain_just_in_time()
-
I have a problem with long loading times in my dashboard (around 8 seconds for each load). I’ve figured out most of the loading time comes from the following message:
“Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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. (This message was added in version 6.7.0.)”
With the following callers:_load_textdomain_just_in_time()
wp-includes/l10n.php:1378get_translations_for_domain()
wp-includes/l10n.php:1408translate()
wp-includes/l10n.php:194__()
wp-includes/l10n.php:306WC_CoolPay_Settings::get_fields()
wp-content/plugins/woo-coolpay/classes/woocommerce-coolpay-settings.php:26WC_CoolPay->init_form_fields()
wp-content/plugins/woo-coolpay/woocommerce-coolpay.php:1076WC_CoolPay->__construct()
wp-content/plugins/woo-coolpay/woocommerce-coolpay.php:141WC_CoolPay::get_instance()
wp-content/plugins/woo-coolpay/woocommerce-coolpay.php:102WC_CP()
wp-content/plugins/woo-coolpay/woocommerce-coolpay.php:1610init_coolpay_gateway()
wp-content/plugins/woo-coolpay/woocommerce-coolpay.php:1614do_action('plugins_loaded')
wp-includes/plugin.php:517
Can anyone here help me resolve this issue?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.