Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /home/customer/www/douwedegraaf.com/public_html/wp-content/themes/dgrfdsgn_theme_2022/woocommerce/single-product/sale-flash.php:25
Stack trace:
#0 /home/customer/www/douwedegraaf.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /home/customer/www/douwedegraaf.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1691): wc_get_template('single-product/...')
#2 /home/customer/www/douwedegraaf.com/public_html/wp-includes/class-wp-hook.php(310): woocommerce_show_product_sale_flash('')
#3 /home/customer/www/douwedegraaf.com/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#4 /home/customer/www/douwedegraaf.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/customer/www/douwedegraaf.com/public_html/wp-content/themes/dgrfdsgn_theme_2022/template-parts/content/content-single.php(43): do_action('woocommerce_bef...')
# in /home/customer/www/douwedegraaf.com/public_html/wp-content/themes/dgrfdsgn_theme_2022/woocommerce/single-product/sale-flash.php on line 25