Fatal error: Uncaught Error: Call to a member function is_in_stock() on boolean in /home/edition6/public_html/wp-content/themes/olc/woocommerce/single-product/related.php:39 Stack trace: #0 /home/edition6/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include() #1 /home/edition6/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1834): wc_get_template('single-product/...', Array) #2 /home/edition6/public_html/wp-content/themes/enfold/config-woocommerce/config.php(1133): woocommerce_related_products(Array) #3 /home/edition6/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/product_snippet_upsells.php(146): avia_woocommerce_output_related_products('4', '4') #4 /home/edition6/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(349): avia_sc_product_upsells->shortcode_handler(Array, '', 'av_product_upse...', Array) #5 /home/edition6/public_html/wp-includes/shortcodes.php(319): av in /home/edition6/public_html/wp-content/themes/olc/woocommerce/single-product/related.php on line 39