• Resolved gregcourdier

    (@gregcourdier)


    Hello,

    The plugin breaks my theme and the display of woocommerce products.
    I was able to fix the problem by removing get_the_ID () and the get_product () function from class.util.php.

    if (!$product && class_exists('WC_Product')) {
                $product = new \WC_Product();
    }

    Can you fix on the next version?

Viewing 1 replies (of 1 total)
  • Plugin Author mjke87

    (@mjke87)

    Hi gregcourdier,

    Thank you for the snippet. I will have a look at this when the next version is on schedule.

    Cheers,
    Mike

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error : Uncaught Exception : WC_Product’ is closed to new replies.