Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /home/liderlik/public_html/wp-content/themes/academy/woocommerce/single-product/sale-flash.php:12 Stack trace: #0 /home/liderlik/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include() #1 /home/liderlik/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(916): wc_get_template('single-product/...') #2 /home/liderlik/public_html/wp-content/plugins/dhvc-woocommerce-page/includes/shortcode.php(171): woocommerce_show_product_sale_flash() #3 /home/liderlik/public_html/wp-includes/shortcodes.php(345): DHVC_Woo_Page_Shortcode->dhvc_woo_product_page_images_shortcode(Array, '', 'dhvc_woo_produc...') #4 [internal function]: do_shortcode_tag(Array) #5 /home/liderlik/public_html/wp-includes/shortcodes.php(223): preg_replace_callback('/\\[(\\[?)(dhvc_w...', 'do_shortcode_ta...', '[vc_row_inner][...') #6 /home/liderlik/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(275): do_sh in /home/liderlik/public_html/wp-content/themes/academy/woocommerce/single-product/sale-flash.php on line 12