Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /homepages/14/d21191280/htdocs/gkkraft/wp-content/themes/gkkraft/woocommerce/single-product/sale-flash.php:26 Stack trace: #0 /homepages/14/d21191280/htdocs/gkkraft/wp-content/plugins/woocommerce/includes/wc-core-functions.php(205): include() #1 /homepages/14/d21191280/htdocs/gkkraft/wp-content/plugins/woocommerce/includes/wc-template-functions.php(974): wc_get_template('single-product/...') #2 /homepages/14/d21191280/htdocs/gkkraft/wp-includes/class-wp-hook.php(298): woocommerce_show_product_sale_flash('') #3 /homepages/14/d21191280/htdocs/gkkraft/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #4 /homepages/14/d21191280/htdocs/gkkraft/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /homepages/14/d21191280/htdocs/gkkraft/wp-content/themes/gkkraft/woocommerce/content-single-product.php(48): do_action('woocommerce_bef...') #6 /homepages/14/d21191280/htdocs/gkkraft/wp-includes/template.php(690): require('/homepages in /homepages/14/d21191280/htdocs/gkkraft/wp-content/themes/gkkraft/woocommerce/single-product/sale-flash.php on line 26