XJS Soft Tops – Order History

Fatal error: Uncaught Error: Call to undefined function wc_get_template() in /var/sites/x/xjs-soft-tops.com/public_html/wp-content/themes/SoftTopsTheme/functions.php:518 Stack trace: #0 /var/sites/x/xjs-soft-tops.com/public_html/wp-includes/shortcodes.php(343): shortcode_my_orders('', '', 'my_orders') #1 [internal function]: do_shortcode_tag(Array) #2 /var/sites/x/xjs-soft-tops.com/public_html/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(my_ord...', 'do_shortcode_ta...', '<p>&nbsp;</p>\n<...') #3 /var/sites/x/xjs-soft-tops.com/public_html/wp-includes/class-wp-hook.php(292): do_shortcode('<p>&nbsp;</p>\n<...') #4 /var/sites/x/xjs-soft-tops.com/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters('<p>&nbsp;</p>\n<...', Array) #5 /var/sites/x/xjs-soft-tops.com/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '&nbsp;\r\n<div st...') #6 /var/sites/x/xjs-soft-tops.com/public_html/wp-content/themes/colormag/content-page.php(49): the_content() #7 /var/sites/x/xjs-soft-t in /var/sites/x/xjs-soft-tops.com/public_html/wp-content/themes/SoftTopsTheme/functions.php on line 518