Notice: wc_get_product was called incorrectly. wc_get_product should not be called before the woocommerce_init, woocommerce_after_register_taxonomy and woocommerce_after_register_post_type actions have finished. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), the_post, WP_Query->the_post, WP_Query->setup_postdata, do_action_ref_array('the_post'), WP_Hook->do_action, WP_Hook->apply_filters, wc_setup_product_data, wc_get_product, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in /home/moordirect/public_html/wp-includes/functions.php on line 5226

Fatal error: Uncaught Error: Call to a member function is_on_sale() on boolean in /home/moordirect/public_html/wp-content/plugins/woocommerce/templates/single-product/sale-flash.php:25 Stack trace: #0 /home/moordirect/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(344): include() #1 /home/moordirect/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1605): wc_get_template('single-product/...') #2 /home/moordirect/public_html/wp-includes/class-wp-hook.php(287): woocommerce_show_product_sale_flash('') #3 /home/moordirect/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #4 /home/moordirect/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home/moordirect/public_html/wp-content/themes/wilcity/woocommerce/content-single-product.php(52): do_action('woocommerce_bef...') #6 /home/moordirect/public_html/wp-includes/template.php(732): require('/home/moordirec...') #7 /home/moordirect/public_html/wp-content/plugins/woocommerce in /home/moordirect/public_html/wp-content/plugins/woocommerce/templates/single-product/sale-flash.php on line 25