Hi there,
I keep having errors during the checkout caused by Event Tickets Plus, looks like it is still using depreciated functions, please see the errors:
PHP Notice: Undefined variable: quantity in /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php on line 714
PHP Notice: Trying to get property of non-object in /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Global_Stock.php on line 233
The WC_Order::reduce_order_stock function is deprecated since version 3.0. Replace with wc_reduce_stock_levels.
Ignore
PHP Notice: Trying to get property of non-object in /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Global_Stock.php on line 233
These break my checkout page, get these even when non-ticket product is purchased and 503 instead of the “thank you” page. Please advise how these errors can be resolved.
Both plugins are up to date:
Event Tickets Plus by Modern Tribe, Inc. – 4.5.2
Event Tickets by Modern Tribe, Inc. – 4.5.2
The Events Calendar PRO by Modern Tribe, Inc. – 4.4.14
The Events Calendar by Modern Tribe, Inc. – 4.5.8
WooCommerce by Automattic – 3.1.1
Thank you