Fatal error: Uncaught Error: Call to undefined method WooCommerce::add_error() in /home/vinmetri/public_html/wp-content/plugins/woocommerce-warranty/woocommerce-warranty.php:1702 Stack trace: #0 /home/vinmetri/public_html/wp-includes/class-wp-hook.php(288): WC_Warranty->add_cart_validation(true, 5858) #1 /home/vinmetri/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(true, Array) #2 /home/vinmetri/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(839): apply_filters('woocommerce_add...', true, 5858, 1) #3 /home/vinmetri/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(815): WC_Form_Handler::add_to_cart_handler_simple(5858) #4 /home/vinmetri/public_html/wp-includes/class-wp-hook.php(286): WC_Form_Handler::add_to_cart_action('') #5 /home/vinmetri/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/vinmetri/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/vinmetri/public_html/wp-settings in /home/vinmetri/public_html/wp-content/plugins/woocommerce-warranty/woocommerce-warranty.php on line 1702