I have fixed the issue for your developers. The problem is within:
woocommerce-multilingual/inc/class-wcml-cart.php in "public function convert_cart_shipping_to_currency" on line 649. Here is the complete function BEFORE resolution:
public function convert_cart_shipping_to_currency( $currency ) {
$shipping_amount_in_default_currency = $this->woocommerce_wpml->multi_currency->prices->unconvert_price_amount( WC()->cart->get_shipping_total() );
public function convert_cart_shipping_to_currency( $currency ) {
// Check if 'wp_loaded' has already fired.
if ( did_action( 'wp_loaded' ) ) {
// 'wp_loaded' has already happened, so we can safely process the cart.
return $this->get_converted_shipping_amount( $currency );
} else {
// Defer the processing until after 'wp_loaded'.
add_action( 'wp_loaded', function() use ( $currency ) {
return $this->get_converted_shipping_amount( $currency );
} );
}
}
I have modified the code further. You can disregard the above. This is likely a temp fix and I am sure your developers have a better manner to fix this but please escalate immediately!
Thank you for sharing the above code and input, I will make sure to pass this along to the right team, however, first if possible I would like to understnad the issue you are experiencing.
The screenshot you shared was never uploaded.
Please share with me the error you receive and the action the reproduces this error.
Feel free to pass this onto the developers and have them install/activate both plugins. This is very easy to replicate and I encourage you to fix ASAP
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.