Reply 318902 to: Critcal Error in Woocommerce Logfile in Core-Plugin

Avatar: Rose Tyler
Rose Tyler
Support staff
March 4, 2022 at 08:01

Hello,

Please, check now.
Fix will be included in next update !
We have added extra condition for etheme_cart_quantity() and etheme_cart_total()
if ( ! is_object( WC() ) || ! property_exists( WC(), ‘cart’ ) || ! is_object( WC()->cart ) || ! method_exists( WC()->cart, ‘get_cart_contents_count’ ) ) {
return;
}
https://gyazo.com/bb7d28aa0c9d57ebf7ecbceeda86da1b

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.