Fatal error: Uncaught Error: Call to undefined method WooCommerce::add_error() in /var/www/html/wp-content/plugins/woocommerce-name-your-price/woocommerce-name-your-price.php:420 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(286): wc_name_your_price->validate_add_cart_item(false, 1345, 1) #1 /var/www/html/wp-includes/plugin.php(203): WP_Hook->apply_filters(true, Array) #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(776): apply_filters('woocommerce_add...', true, 1345, 1) #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(750): WC_Form_Handler::add_to_cart_handler_simple(1345) #4 /var/www/html/wp-includes/class-wp-hook.php(286): WC_Form_Handler::add_to_cart_action('') #5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /var/www/html/wp-settings.php(471): do_action('wp_loaded') #8 /var/www/html/wp-config.php(98): require_once('/var/w in /var/www/html/wp-content/plugins/woocommerce-name-your-price/woocommerce-name-your-price.php on line 420