Warning: Trying to access array offset on value of type bool in /home/canfections/public_html/wp-content/plugins/rs_addons/inc/vc_addon/rs_heading.php on line 280

Fatal error: Uncaught Error: Call to undefined function wc_get_product() in /home/canfections/public_html/wp-content/plugins/rs_addons/inc/vc_addon/views/latest_product_grid.php:57 Stack trace: #0 /home/canfections/public_html/wp-content/plugins/rs_addons/inc/vc_addon/inc/abstruct.php(40): include() #1 /home/canfections/public_html/wp-content/plugins/rs_addons/inc/vc_addon/latest_product_slider.php(340): RSTheme_VC_Modules->template('latest_product_...', Array) #2 /home/canfections/public_html/wp-includes/shortcodes.php(433): RSTheme_VC_Latest_Product_Slider->shortcode(Array, '', 'rs_latest_produ...') #3 [internal function]: do_shortcode_tag(Array) #4 /home/canfections/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(vc_inf...', 'do_shortcode_ta...', '[rs_space space...') #5 /home/canfections/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(247): do_shortcode('[rs_space space...') #6 /home/canfections/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop('[rs_space space...') #7 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home/canfectio...') #8 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate(Array, '[rs_space space...') #9 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode->content(Array, '[rs_space space...') #10 /home/canfections/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1300): WPBakeryShortCode->output(Array, '[rs_space space...') #11 /home/canfections/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode(Array, '[rs_space space...', 'vc_column') #12 [internal function]: do_shortcode_tag(Array) #13 /home/canfections/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(vc_inf...', 'do_shortcode_ta...', '[vc_column][rs_...') #14 /home/canfections/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(247): do_shortcode('[vc_column][rs_...') #15 /home/canfections/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop('[vc_column][rs_...') #16 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/home/canfectio...') #17 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column][rs_...') #18 /home/canfections/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(552): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column][rs_...') #19 /home/canfections/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1300): WPBakeryShortCode->output(Array, '[vc_column][rs_...') #20 /home/canfections/public_html/wp-includes/shortcodes.php(433): vc_do_shortcode(Array, '[vc_column][rs_...', 'vc_row') #21 [internal function]: do_shortcode_tag(Array) #22 /home/canfections/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(clt_te...', 'do_shortcode_ta...', '<p>[vc_row][vc_...') #23 /home/canfections/public_html/wp-includes/class-wp-hook.php(324): do_shortcode('<p>[vc_row][vc_...') #24 /home/canfections/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p>[vc_row][vc_...', Array) #25 /home/canfections/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '[vc_row][vc_col...') #26 /home/canfections/public_html/wp-content/themes/unitek/template-parts/content-page.php(13): the_content() #27 /home/canfections/public_html/wp-includes/template.php(812): require('/home/canfectio...') #28 /home/canfections/public_html/wp-includes/template.php(745): load_template('/home/canfectio...', false, Array) #29 /home/canfections/public_html/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #30 /home/canfections/public_html/wp-content/themes/unitek/page.php(30): get_template_part('template-parts/...', 'page') #31 /home/canfections/public_html/wp-includes/template-loader.php(106): include('/home/canfectio...') #32 /home/canfections/public_html/wp-blog-header.php(19): require_once('/home/canfectio...') #33 /home/canfections/public_html/index.php(17): require('/home/canfectio...') #34 {main} thrown in /home/canfections/public_html/wp-content/plugins/rs_addons/inc/vc_addon/views/latest_product_grid.php on line 57