This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Yvette 8 months, 3 weeks ago.

Assigned support staff: Yvette.

Author Posts
September 9, 2019 at 7:27 pm #4539899


I am trying to:

Use the multicurrency functionality of woocommerce multilingual. The error occurs anywhere multicurrency is used.

I expected to see:

An error of type E_ERROR was caused in line 540 of the file /mnt/data/home/siteurl/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency.php. Error message: Uncaught Error: Call to a member function set() on null in /mnt/data/home/siteurl/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency.php:540
Stack trace:
#0 /mnt/data/home/siteurl/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/class-wcml-multi-currency-prices.php(759): WCML_Multi_Currency->set_client_currency('VND')
#1 /mnt/data/home/siteurl/public_html/wp-includes/class-wp-hook.php(286): WCML_Multi_Currency_Prices->filter_wc_price_args(Array)
#2 /mnt/data/home/siteurl/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#3 /mnt/data/home/siteurl/public_html/wp-content/plugins/woocommerce/includes/wc-formatting-functions.php(568): apply_filters('wc_price_args', Array)
#4 /mnt/data/home/siteurl/public_html/wp-content/plugins/woocommerce/includes/class-

September 10, 2019 at 6:42 am #4542259


Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)


1. Basic Diagnostics

Please temporarily deactivate your non-WPML plugins and temporarily change your active theme to Storefront. In this reduced configuration, does the error still happen?

If not, please first change your active theme back to your normal theme and test again. Then reactivate your normal plugins one-by-one, testing each time you activate a plugin until you find the moment that the error reappears.

Then write back and let us know the results of this diagnostic step.

2. WCML COnfiguration
Please check that there are no red system notices when visiting these panels:
Woocommerce > Status
Woocommerce > Woocommerce Multilingual > Status

The topic ‘[Closed] Woocommerce Multilingual Multicurrency Technical Issue Error’ is closed to new replies.