Error on email previews w/WC 9.7.0 when “email enhancements” enabled
-
After updating to WC 9.7.0, we tested the experimental “email enhancement” feature (WooCommerce > Settings > Advanced > Featured).
When this feature is enabled, all order-related email previews (WooCommerce > Settings > Email) throw the following error:
“Uncaught Error: Call to a member function get_tax_status() on bool
in /nas/content/live/xxxxxx/wp-content/plugins/product-bundles-variation-bundles/product-bundles-variation-bundles.php on line 645″
This error persists when we switch to the default Storefront theme. The error goes away when we disable the variation bundles plugin.
Entire call stack:WC_PB_Variable_Bundles::variation_get_tax_class('', WC_Product_Variation)
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters('', array)
wp-includes/plugin.php:205apply_filters('woocommerce_product_variation_get_tax_class', '', WC_Product_Variation)
wp-content/plugins/woocommerce/includes/class-wc-product-variation.php:309WC_Product_Variation::get_tax_class()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:1581WC_Abstract_Order::add_product(WC_Product_Variation)
wp-content/plugins/woocommerce/src/Internal/Admin/EmailPreview/EmailPreview.php:309Automattic\W\I\A\E\EmailPreview::get_dummy_order()
wp-content/plugins/woocommerce/src/Internal/Admin/EmailPreview/EmailPreview.php:162Automattic\W\I\A\E\EmailPreview::set_email_type('WC_Email_New_Order')
wp-content/plugins/woocommerce/includes/admin/class-wc-admin.php:204WC_Admin::preview_emails('')
wp-includes/class-wp-hook.php:324WP_Hook::apply_filters(NULL, array)
wp-includes/class-wp-hook.php:348WP_Hook::do_action(array)
wp-includes/plugin.php:517do_action('admin_init')
wp-admin/admin.php:175require_once('/nas/content/live/umcdstore/wp-admin/admin.php')
wp-admin/index.php:10
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.