Multi currency email template exception
-
Hi, I get the following exception when renewal emails are generated for Woocommerce subscriptions, with the consequence that no emails are sent.
I upgraded to the latest Woocommerce version but it did not help.
I’m running these versions:
Woocommerce: 4.7.1
Woocommerce multilingual: 4.10.3
Woocommerce subscriptions: 3.0.112020-12-02T13:34:53+00:00 CRITICAL Uncaught Error: Call to a member function set() on null in xxx/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency.php:608
Stack trace:
#0 xxx/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php(825): WCML_Multi_Currency->set_client_currency(‘GBP’)
#1 xxx/wp-includes/class-wp-hook.php(288): WCML_Multi_Currency_Prices->filter_wc_price_args(Array)
#2 xxx/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#3 xxx/wp-content/plugins/woocommerce/includes/wc-formatting-functions.php(572): apply_filters(‘wc_price_args’, Array)
#4 xxx/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1873): wc_price(39, Array)
#5 xxx/wp-content/plugins/woocommerce/templates/emails/email-order-items.php(86): WC_Abstract_Order->get_formatt in xxx/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency.php on line 608
- The topic ‘Multi currency email template exception’ is closed to new replies.