Fatal error: Uncaught Error: Call to a member function get_type() on null in /var/www/html/wp-content/themes/uncode/woocommerce/single-product/rating.php:30
Stack trace:
#0 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /var/www/html/wp-content/themes/uncode/vc_templates/uncode_single_product_rating.php(44): wc_get_template()
#2 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/var/www/html/w...')
#3 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#4 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(554): WPBakeryShortCode->content()
#5 /var/www/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output()
#6 /var/www/html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#7 [internal function]: do_shortcode_tag()
#8 /var/www/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#9 /var/www/html/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode()
#10 /var/www/html/wp-content/themes/uncode/vc_templates/vc_column_inner.php(727): uncode_remove_p_tag()
#11 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/var/www/html/w...')
#12 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#13 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(554): WPBakeryShortCode->content()
#14 /var/www/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output()
#15 /var/www/html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#16 [internal function]: do_shortcode_tag()
#17 /var/www/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#18 /var/www/html/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode()
#19 /var/www/html/wp-content/themes/uncode/vc_templates/vc_row_inner.php(1205): uncode_remove_p_tag()
#20 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/var/www/html/w...')
#21 /var/www/html/wp-content/plugins/uncode-core/includes/vc_extend/modules/row/extend.php(19): WPBakeryShortCode->loadTemplate()
#22 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(554): uncode_row->content()
#23 /var/www/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output()
#24 /var/www/html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#25 [internal function]: do_shortcode_tag()
#26 /var/www/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#27 /var/www/html/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode()
#28 /var/www/html/wp-content/themes/uncode/vc_templates/vc_column.php(759): uncode_remove_p_tag()
#29 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/var/www/html/w...')
#30 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(430): WPBakeryShortCode->loadTemplate()
#31 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(554): WPBakeryShortCode->content()
#32 /var/www/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output()
#33 /var/www/html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#34 [internal function]: do_shortcode_tag()
#35 /var/www/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#36 /var/www/html/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode()
#37 /var/www/html/wp-content/themes/uncode/vc_templates/vc_row.php(1328): uncode_remove_p_tag()
#38 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(457): require('/var/www/html/w...')
#39 /var/www/html/wp-content/plugins/uncode-core/includes/vc_extend/modules/row/extend.php(19): WPBakeryShortCode->loadTemplate()
#40 /var/www/html/wp-content/plugins/uncode-js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(554): uncode_row->content()
#41 /var/www/html/wp-content/plugins/uncode-js_composer/include/helpers/helpers.php(1371): WPBakeryShortCode->output()
#42 /var/www/html/wp-includes/shortcodes.php(433): vc_do_shortcode()
#43 [internal function]: do_shortcode_tag()
#44 /var/www/html/wp-includes/shortcodes.php(273): preg_replace_callback()
#45 /var/www/html/wp-content/themes/uncode/core/inc/customizer.php(54): do_shortcode()
#46 /var/www/html/wp-content/themes/uncode/page.php(626): uncode_remove_p_tag()
#47 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...')
#48 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
#49 /var/www/html/index.php(17): require('/var/www/html/w...')
#50 {main}
thrown in /var/www/html/wp-content/themes/uncode/woocommerce/single-product/rating.php on line 30