Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/plugins/woocommerce/templates/single-product/sale-flash.php:25 Stack trace: #0 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1609): wc_get_template('single-product/...') #2 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/class-wp-hook.php(307): woocommerce_show_product_sale_flash('') #3 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/themes/matusefloristika-theme/template-parts/content.php(43): do_action('woocommerce_bef...') #6 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/template.php(772): require('/data01/virt103...') #7 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/template.php(716): load_template('/data01/virt103...', false, Array) #8 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #9 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/themes/matusefloristika-theme/single.php(19): get_template_part('template-parts/...', 'post') #10 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-includes/template-loader.php(106): include('/data01/virt103...') #11 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-blog-header.php(19): require_once('/data01/virt103...') #12 /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/index.php(17): require('/data01/virt103...') #13 {main} thrown in /data01/virt103835/domeenid/www.matusefloristika.ee/htdocs/wp-content/plugins/woocommerce/templates/single-product/sale-flash.php on line 25