Open

Symptoms

WooCommerce sites that are using multiple currencies can result in a third-party plugin triggering a call to get_cart before the wp_loaded action, which is something explicitly not allowed by WooCommerce.

So far, we have had reports while using oGone payment gateway, WC Deposits & Booster for WooCommerce plugins, but others may be affected too.

We are working on the best way to resolve this and release an update but in the meantime, you can try the workaround below.

Workaround

Edit the wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php file and change line 30 from:

add_action( 'init', array( $this, 'init_gateways' ) );

to:

add_action( 'wp_loaded', array( $this, 'init_gateways' ) );

Leave a Reply

Please leave here comments about this page only.
For technical support and feature suggestions, head to our forum. We are waiting there!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>