An error was caused in line 81 of class-wpbm-shortcode.php

Tagged: 

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

The following error has been triggered

Error Details
=============
An error of type E_ERROR was caused in line 81 of the file /home/ACCOUNT/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php. Error message: Uncaught Error: Call to a member function get_average_rating() on null in /home/ACCOUNT/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php:81
Stack trace:
#0 /home/ACCOUNT/public_html/wp-includes/shortcodes.php(356): Wpbm_Shortcode->create_product_single_page_badge_shortcode(Array, ”, ‘woo_pro_badges’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/ACCOUNT/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(woo_pr…’, ‘do_shortcode_ta…’, ‘[woo_pro_badges…’)
#3 /home/ACCOUNT/public_html/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php(184): do_shortcode(‘[woo_pro_badges…’)
#4 /home/ACCOUNT/public_html/wp-includes/shortcodes.php(356): Wpbm_Shortcode->create_product_single_page_badge_extended_shortcode(”, ”, ‘woo_pro_badges_…’)
#5 [internal function]: do_shortcode_tag(Array)
#6 /home/ACCOUNT/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(woo_

nicw
Participant
#22517
This reply has been marked as private.
Rubel
Keymaster
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.