- Line 28
- Message Uncaught Error: Call to a member function get_average_rating() on null in /var/www/html/wp-content/plugins/woocommerce/templates/loop/rating.php:28
Stack trace:
#0 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1419): wc_get_template()
#2 /var/www/html/wp-includes/class-wp-hook.php(324): woocommerce_template_loop_rating()
#3 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/code-block.class.php(133) : eval()'d code(2): do_action()
#6 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/code-block.class.php(133): eval()
#7 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_Code_Block->add_shortcode()
#8 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(48): do_oxygen_elements()
#9 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_DIV_Block->add_shortcode()
#10 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(48): do_oxygen_elements()
#11 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_DIV_Block->add_shortcode()
#12 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(48): do_oxygen_elements()
#13 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_DIV_Block->add_shortcode()
#14 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/dynamic-list.class.php(884): do_oxygen_elements()
#15 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): Oxygen_VSB_Dynamic_List->add_shortcode()
#16 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(48): do_oxygen_elements()
#17 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_DIV_Block->add_shortcode()
#18 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(48): do_oxygen_elements()
#19 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_DIV_Block->add_shortcode()
#20 /var/www/html/wp-content/plugins/oxygen/component-framework/components/classes/section.class.php(70): do_oxygen_elements()
#21 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(76): CT_Section->add_shortcode()
#22 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(109): do_oxygen_elements()
#23 /var/www/html/wp-content/plugins/oxygen/component-framework/includes/templates.php(183): ct_template_output()
#24 /var/www/html/wp-includes/class-wp-hook.php(324): ct_templates_buffer_start()
#25 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#26 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#27 /var/www/html/wp-content/plugins/oxygen/component-framework/component-init.php(1272): do_action()
#28 /var/www/html/wp-includes/class-wp-hook.php(324): oxy_print_cached_css()
#29 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#30 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#31 /var/www/html/wp-includes/general-template.php(3052): do_action()
#32 /var/www/html/wp-content/plugins/oxygen/component-framework/oxygen-main-template.php(10): wp_head()
#33 /var/www/html/wp-includes/template-loader.php(106): include('...')
#34 /var/www/html/wp-blog-header.php(19): require_once('...')
#35 /var/www/html/index.php(17): require('...')
#36 {main}
thrown
- File /var/www/html/wp-content/plugins/woocommerce/templates/loop/rating.php
Back