Fatal error: Call to a member function is_on_sale() on a non-object in /home/liderlik/public_html/wp-content/themes/academy/woocommerce/single-product/sale-flash.php on line 12