-
Fatal error: Uncaught Error: Call to a member function is_on_sale() on null in /var/www/wp-content/plugins/woocommerce/templates/loop/sale-flash.php:25 Stack trace: #0 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /var/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1451): wc_get_template('loop/sale-flash...') #2 /var/www/wp-includes/class-wp-hook.php(324): woocommerce_show_product_loop_sale_flash('') #3 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /var/www/wp-content/plugins/woocommerce/templates/content-product.php(34): do_action('woocommerce_bef...') #6 /var/www/wp-includes/template.php(812): require('/var/www/wp-con...') #7 /var/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/var/www/wp-con...', false) #8 /var/www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(665): wc_get_template_part('content', 'product') #9 /var/www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop() #10 /var/www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(283): WC_Shortcode_Products->get_content() #11 /var/www/wp-includes/shortcodes.php(434): WC_Shortcodes::products(Array, '', 'products') #12 [internal function]: do_shortcode_tag(Array) #13 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(produc...', 'do_shortcode_ta...', '[products sku="...') #14 /var/www/wp-content/plugins/elementor/includes/widgets/shortcode.php(141): do_shortcode('[products sku="...') #15 /var/www/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): Elementor\Widget_Shortcode->render() #16 /var/www/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() #17 /var/www/wp-content/plugins/elementor/includes/base/widget-base.php(775): Elementor\Widget_Base->render_content() #18 /var/www/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #19 /var/www/wp-content/plugins/elementor/modules/element-cache/module.php(69): Elementor\Element_Base->print_element() #20 /var/www/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...') #21 [internal function]: do_shortcode_tag(Array) #22 /var/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '\t\t<section clas...') #23 /var/www/wp-content/plugins/elementor/core/base/document.php(1865): do_shortcode('\t\t<section clas...') #24 /var/www/wp-content/plugins/elementor/core/base/document.php(1200): Elementor\Core\Base\Document->print_elements(Array) #25 /var/www/wp-content/plugins/elementor/includes/frontend.php(1184): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #26 /var/www/wp-content/plugins/elementor/includes/frontend.php(1079): Elementor\Frontend->get_builder_content(3974) #27 /var/www/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content('<h2>SAND DOLLAR...') #28 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<h2>SAND DOLLAR...', Array) #29 /var/www/wp-includes/post-template.php(256): apply_filters('the_content', '<h2>SAND DOLLAR...') #30 /var/www/wp-content/themes/astra/template-parts/single/content-header.php(37): the_content() #31 /var/www/wp-includes/template.php(812): require('/var/www/wp-con...') #32 /var/www/wp-includes/template.php(745): load_template('/var/www/wp-con...', false, Array) #33 /var/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #34 /var/www/wp-content/themes/astra/inc/template-parts.php(374): get_template_part('template-parts/...') #35 /var/www/wp-includes/class-wp-hook.php(324): astra_entry_content_single_page_template('') #36 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #37 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #38 /var/www/wp-content/themes/astra/inc/core/theme-hooks.php(450): do_action('astra_entry_con...') #39 /var/www/wp-content/themes/astra/template-parts/content-page.php(28): astra_entry_content_single_page() #40 /var/www/wp-includes/template.php(812): require('/var/www/wp-con...') #41 /var/www/wp-includes/template.php(745): load_template('/var/www/wp-con...', false, Array) #42 /var/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #43 /var/www/wp-content/themes/astra/inc/class-astra-loop.php(110): get_template_part('template-parts/...', 'page') #44 /var/www/wp-includes/class-wp-hook.php(324): Astra_Loop->template_parts_page('') #45 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #46 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #47 /var/www/wp-content/themes/astra/inc/class-astra-loop.php(198): do_action('astra_page_temp...') #48 /var/www/wp-content/themes/astra/inc/class-astra-loop.php(175): Astra_Loop->loop_markup(true) #49 /var/www/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup_page('') #50 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #51 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #52 /var/www/wp-content/themes/astra/inc/core/theme-hooks.php(265): do_action('astra_content_p...') #53 /var/www/wp-content/themes/astra/page.php(32): astra_content_page_loop() #54 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...') #55 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #56 /var/www/index.php(17): require('/var/www/wp-blo...') #57 {main} thrown in /var/www/wp-content/plugins/woocommerce/templates/loop/sale-flash.php on line 25