Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /homepages/15/d334935645/htdocs/discos/new/wp-content/themes/discos-paradisco/woocommerce/single-product/sale-flash.php:26 Stack trace: #0 /homepages/15/d334935645/htdocs/discos/new/wp-content/plugins/woocommerce/includes/wc-core-functions.php(209): include() #1 /homepages/15/d334935645/htdocs/discos/new/wp-content/plugins/woocommerce/includes/wc-template-functions.php(995): wc_get_template('single-product/...') #2 /homepages/15/d334935645/htdocs/discos/new/wp-includes/class-wp-hook.php(286): woocommerce_show_product_sale_flash('') #3 /homepages/15/d334935645/htdocs/discos/new/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #4 /homepages/15/d334935645/htdocs/discos/new/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /homepages/15/d334935645/htdocs/discos/new/wp-content/plugins/woocommerce/templates/content-single-product.php(48): do_action('woocommerce_bef...') #6 /homepages/15/d334935645/htdocs/discos/new/wp-inc in /homepages/15/d334935645/htdocs/discos/new/wp-content/themes/discos-paradisco/woocommerce/single-product/sale-flash.php on line 26