Theodore Sfakianakis
Forum Replies Created
-
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!
Hi George,
Thank you very much for pointing this out.
There is already an update available that addresses this issue. Please update the plugin to the latest version.
I really appreciate you taking the time to report it.
Best regards,
TheodoreCheers! thanks for the positive feedback!
Hi Themis,
Sorry for the delay in getting back to you. I’m currently on vacation and have only just had the chance to look into the issue.
I’ve identified the problem with the required fields when “Receipt” is selected in WooCommerce Block Checkout.
The fix will be included in the next plugin release. The new version should be available by tomorrow evening and will resolve the issue, so that the invoice fields are no longer required when “Receipt” is selected, while the configured required/optional settings will continue to apply when “Invoice” is selected.
Thank you very much for reporting the issue and for providing such a clear description.
If you’re satisfied with the plugin and the support, I’d really appreciate it if you could leave a positive review/rating. It helps a lot.
Thank you!