Home Forums WoodMart support forum Fatal Error get_average_rating()

Fatal Error get_average_rating()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #602227

    kontakt-9396
    Participant

    Hi there,
    i’m daily getting the following error. What can i do?
    Kind regards,
    Stefan

    [02-Oct-2024 22:35:27 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_average_rating() on bool in /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/product-reviews/class-rating-summary.php:79
    Stack trace:
    #0 /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/woocommerce/single-product-reviews.php(42): XTS\Modules\Product_Reviews\Rating_Summary->render_filter_dashboard()
    #1 /homepages/38/d862046543/htdocs/abc/wp-includes/comment-template.php(1623): require('/homepages/38/d...')
    #2 /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/woocommerce/single-product/tabs/tabs.php(142): comments_template()
    #3 /homepages/38/d862046543/htdocs/abc/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/homepages/38/d...')
    #4 /homepages/38/d862046543/htdocs/abc/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1648): wc_get_template()
    #5 /homepages/38/d862046543/htdocs/abc/wp-includes/class-wp-hook.php(324): woocommerce_output_product_data_tabs()
    #6 /homepages/38/d862046543/htdocs/abc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /homepages/38/d862046543/htdocs/abc/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/woocommerce/content-single-product.php(231): do_action()
    #9 /homepages/38/d862046543/htdocs/abc/wp-includes/template.php(812): require('/homepages/38/d...')
    #10 /homepages/38/d862046543/htdocs/abc/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #11 /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/woocommerce/single-product.php(28): wc_get_template_part()
    #12 /homepages/38/d862046543/htdocs/abc/wp-includes/template-loader.php(106): include('/homepages/38/d...')
    #13 /homepages/38/d862046543/htdocs/abc/wp-blog-header.php(19): require_once('/homepages/38/d...')
    #14 /homepages/38/d862046543/htdocs/abc/index.php(17): require('/homepages/38/d...')
    #15 {main}
      thrown in /homepages/38/d862046543/htdocs/abc/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/product-reviews/class-rating-summary.php on line 79
    #602277

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family 🙂

    Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.

    Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I will check and give you a possible solution.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)