Title: Plugin triggering “called incorrectly” PHP notices
Last modified: September 12, 2026

---

# Plugin triggering “called incorrectly” PHP notices

 *  Resolved [Themis Theodoridis](https://wordpress.org/support/users/themisth/)
 * (@themisth)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/plugin-triggering-called-incorrectly-php-notices/)
 * Hi,
 * I’m getting the following PHP notices in my WordPress debug log:
 *     ```wp-block-code
       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_init` or 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)

 *  Plugin Author [Theodore Sfakianakis](https://wordpress.org/support/users/irmaiden/)
 * (@irmaiden)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/plugin-triggering-called-incorrectly-php-notices/#post-19018530)
 * Hi,
 * Thanks for the detailed report — that’s a really clear write-up and it helped
   a lot in tracking this down quickly.
 * You were right on both counts. The plugin’s Block Checkout field registration
   was hooked to woocommerce_blocks_loaded, which fires before WordPress’s init 
   action. That’s too early for the field labels’ translation strings (triggering
   the WP 6.7+ notice) and too early for woocommerce_register_additional_checkout_field()
   itself (triggering the WC 11.0+ notice) — both notices were two symptoms of the
   same root cause.
 * Fixed in v1.2.3, already published: field registration now runs on woocommerce_init
   instead, which is what WooCommerce’s own guidance recommends. It’s a hook-timing
   fix only — no behavior change, fields register and work exactly the same. I verified
   it against a real WooCommerce 11.1.0 install with WP_DEBUG/WP_DEBUG_LOG on and
   confirmed both notices are gone.
 * Please update to 1.2.3 and let me know if you still see the notices afterward.
 * Thanks again for flagging it!
 *  Thread Starter [Themis Theodoridis](https://wordpress.org/support/users/themisth/)
 * (@themisth)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/plugin-triggering-called-incorrectly-php-notices/#post-19018562)
 * Thanks for the quick response and fix! I’ve updated to v1.2.3 and everything 
   looks good.
 * Really appreciate it!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-triggering-called-incorrectly-php-notices%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/greek-vat-invoices-for-woocommerce/assets/icon-128x128.png?
   rev=3421693)
 * [Greek VAT & Invoices for WooCommerce](https://wordpress.org/plugins/greek-vat-invoices-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/greek-vat-invoices-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/greek-vat-invoices-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/greek-vat-invoices-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/greek-vat-invoices-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/greek-vat-invoices-for-woocommerce/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [php notices](https://wordpress.org/support/topic-tag/php-notices/)
 * [translations](https://wordpress.org/support/topic-tag/translations/)

 * 2 replies
 * 2 participants
 * Last reply from: [Themis Theodoridis](https://wordpress.org/support/users/themisth/)
 * Last activity: [1 week, 4 days ago](https://wordpress.org/support/topic/plugin-triggering-called-incorrectly-php-notices/#post-19018562)
 * Status: resolved