error in order sidebar meta box with HPOS enabled

I am testing out on my dev site having the HPOS option enabled for woocommerce to see what all is not working correctly in my own custom plugins

In the sidebar of an order – the age gate meta box is showing an error

Warning: Attempt to read property "ID" on null in [pathpathpathpath]/wp-content/plugins/age-gate/src/Admin/Post/Edit.php on line 127

This is with wordpress 6.4.2, woocommerce 8.5.2

most likely because of the way that it’s based on an order ID now instead of post ID. See


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