Fatal error: Uncaught Error: Call to undefined method WooCommerce::add_error() in /customers/5/7/3/goranssons.se/httpd.www/wp-content/plugins/woo-commerce-min-weight/min-weight.php:65 Stack trace: #0 /customers/5/7/3/goranssons.se/httpd.www/wp-includes/class-wp-hook.php(286): bd_min_weight('') #1 /customers/5/7/3/goranssons.se/httpd.www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /customers/5/7/3/goranssons.se/httpd.www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /customers/5/7/3/goranssons.se/httpd.www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(81): do_action('woocommerce_che...') #4 /customers/5/7/3/goranssons.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output(Array) #5 /customers/5/7/3/goranssons.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper(Array) #6 /customers/5/7/3/goranssons.se/httpd.www/wp-includes/shortcodes.p in /customers/5/7/3/goranssons.se/httpd.www/wp-content/plugins/woo-commerce-min-weight/min-weight.php on line 65