I am getting an error on the cart page "Call to undefined method WooCommerce::nonce_field()".
Fatal error: Call to undefined method WooCommerce::nonce_field() in C:\xampp\htdocs\stemorg\wp-content\themes\breeze-child\woocommerce\cart\cart.php on line 120
cart.php on line 120 here is the code: $woocommerce->nonce_field('cart');
I am very tired of this error. Please, anyone, help me how to fix this error. Thanks in advance