Plugin triggering “called incorrectly” PHP notices
-
Hi,
I’m getting the following PHP notices in my WordPress debug log:
PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the greek-vat-invoices-for-woocommerce domain was triggered too early. Translations should be loaded at the init action or later. (This message was added in WordPress 6.7.0.) PHP Notice: Function woocommerce_register_additional_checkout_field was called incorrectly. Additional checkout fields should be registered on the woocommerce_init action or later. (This message was added in WooCommerce 11.0.0.)These notices are being logged repeatedly and are filling up the debug log.
Could you please check whether the plugin is loading its translations and registering its WooCommerce checkout fields too early? It seems that some of the plugin code may need to be moved to
init/woocommerce_initor a later hook.Please let me know if this is a known issue and whether a fix is planned.
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.