• Resolved dacman

    (@dacman)


    Hi there,
    I have installed the Yith woocommerce advanced reviews plugin and I am getting the following error.
    Trying to get property of non-object in /hsphere/local/home/iccbltdadmin/iccsailingbooks.com/wp-content/plugins/yith-woocommerce-advanced-reviews/class.yith-woocommerce-advanced-reviews.php on line 1503

    Is there a fix for this issue
    Dacman

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    it seems that the global $product var is not set, please edit the file
    and add the following code before the line that thrown the error:
    if (!$product) {
    return $rating_html;
    }

    Let us now if it works for you.

    Thread Starter dacman

    (@dacman)

    Hey there,

    Many thanks it appears to have resolved the issue.

    Dacman

    Plugin Author YITHEMES

    (@yithemes)

    We’re happy to see it worked for you, if you liked the plugin we’ll truly appreciate if you give it a review.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trying to get property of non-oject’ is closed to new replies.