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 Rohan Sadanandan 9 months, 2 weeks ago.

Assigned support staff: Rohan Sadanandan.

Author Posts
August 12, 2019 at 11:22 am #4380335


We have this error displayed in our webshop:

An error of type E_ERROR was caused in line 207 of the file /home/hardfest/public_html/---/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php. Error message: Uncaught Error: Call to a member function get_currency_codes() on null in /home/hardfest/public_html/---/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php:207
Stack trace:
#0 /home/hardfest/public_html/----/wp-includes/class-wp-hook.php(286): WCML_WC_Gateways->append_currency_selector_to_bacs_account_settings('')
#1 /home/hardfest/public_html/----/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /home/hardfest/public_html/---/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /home/hardfest/public_html/---/wp-admin/admin-footer.php(73): do_action('admin_footer', '')
#4 /home/hardfest/public_html/----/wp-admin/admin.php(288): include('/home/hardfest/...')
#5 {main}

How could we solve this?



August 12, 2019 at 2:35 pm #4381665

Rohan Sadanandan

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)


Thank you for contacting WPML Support.

Could you please navigate to WooCommerce > WooCommerce Multilingual > Multi Currency and enable the multi-currency option?

You can read more about this here:

Please let me know whether this solves the issue.