Fatal error: Uncaught Error: Call to a member function is_on_sale() on bool in /home/ccpcompy/public_html/wp-content/plugins/woocommerce/templates/loop/sale-flash.php:25 Stack trace: #0 /home/ccpcompy/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include() #1 /home/ccpcompy/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1439): wc_get_template('loop/sale-flash...') #2 /home/ccpcompy/public_html/wp-includes/class-wp-hook.php(324): woocommerce_show_product_loop_sale_flash(Array) #3 /home/ccpcompy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 /home/ccpcompy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 [internal function]: do_action('woocommerce_bef...', Array) #6 /home/ccpcompy/public_html/wp-content/plugins/timber-library/lib/Twig.php(39): call_user_func_array('do_action', Array) #7 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(89): Timber\Twig->Timber\{closure}(Array, 'woocommerce_bef...') #8 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(453): __TwigTemplate_3fbb8baae784707d9a54d19d6254020eede267dd709f1a31bb507e41fb19b572->doDisplay(Array, Array) #9 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling(Array, Array) #10 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(239): Twig\Template->display(Array) #11 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(214): __TwigTemplate_2642e0d722e83f7e58dc4896ae24a1cce85963c0b8ac2bf938d40065e0c04fde->block_content(Array, Array) #12 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(382): Twig\Template->displayBlock('content', Array, Array) #13 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(453): __TwigTemplate_11732448ed22ea551988a214b098407f44ed8ab2ecb93d82acd0b1aaf9fe59fd->doDisplay(Array, Array) #14 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling(Array, Array) #15 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()'d code(35): Twig\Template->display(Array, Array) #16 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(453): __TwigTemplate_2642e0d722e83f7e58dc4896ae24a1cce85963c0b8ac2bf938d40065e0c04fde->doDisplay(Array, Array) #17 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling(Array, Array) #18 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(432): Twig\Template->display(Array) #19 /home/ccpcompy/public_html/wp-content/plugins/timber-library/vendor/twig/twig/src/TemplateWrapper.php(47): Twig\Template->render(Array, Array) #20 /home/ccpcompy/public_html/wp-content/plugins/timber-library/lib/Loader.php(79): Twig\TemplateWrapper->render(Array) #21 /home/ccpcompy/public_html/wp-content/plugins/timber-library/lib/Timber.php(334): Timber\Loader->render('templates/produ...', Array, false, 'default') #22 /home/ccpcompy/public_html/wp-content/plugins/timber-library/lib/Timber.php(383): Timber\Timber::compile('templates/produ...', Array, false, 'default', true) #23 /home/ccpcompy/public_html/wp-content/plugins/timber-library/lib/Timber.php(410): Timber\Timber::fetch('templates/produ...', Array, false, 'default') #24 /home/ccpcompy/public_html/wp-content/themes/CCP-12012020/woocommerce.php(102): Timber\Timber::render('templates/produ...', Array) #25 /home/ccpcompy/public_html/wp-includes/template-loader.php(106): include('/home/ccpcompy/...') #26 /home/ccpcompy/public_html/wp-blog-header.php(19): require_once('/home/ccpcompy/...') #27 /home/ccpcompy/public_html/index.php(17): require('/home/ccpcompy/...') #28 {main} thrown in /home/ccpcompy/public_html/wp-content/plugins/woocommerce/templates/loop/sale-flash.php on line 25