With current trunk, 42317cc2737fb5436787e332107b451a514a8d59, add product page (/wp-admin/post-new.php?post_type=product) throws a fatal error.
To Reproduce
Install WC < 7.3
Install subscriptions-core as a plugin pointing at current trunk, 42317cc2737fb5436787e332107b451a514a8d59.
Create a new product (/wp-admin/post-new.php?post_type=product)
Expected behavior
No fatal error.
Actual behavior
Got fatal error:
Uncaught Error: Call to a member function can_date_be_updated() on bool in woocommerce-subscriptions-core/includes/admin/meta-boxes/views/html-subscription-schedule.php:16
Product impact
[x] Does this issue affect WooCommerce Subscriptions? no
[x] Does this issue affect WooCommerce Payments? no
Describe the bug
With current trunk, 42317cc2737fb5436787e332107b451a514a8d59, add product page (/wp-admin/post-new.php?post_type=product) throws a fatal error.
To Reproduce
Expected behavior
No fatal error.
Actual behavior
Got fatal error:
Product impact
Additional context