• Resolved HelgaTheViking

    (@helgatheviking)


    I am the author of Woocommerce Mix and Match Products and had a mutual customer report this to our support team.

    An error of type E_ERROR was caused in line 9275 of the file /public_html/wp-content/plugins/royal-elementor-addons/modules/woo-grid/widgets/wpr-woo-grid.php. Error message: Uncaught Error: Call to undefined method WC_Product_Mix_and_Match::get_product_url() in /public_html/wp-content/plugins/royal-elementor-addons/modules/woo-grid/widgets/wpr-woo-grid.php:9275
    Stack trace:
    #0 /public_html/wp-content/plugins/royal-elementor-addons/modules/woo-grid/widgets/wpr-woo-grid.php(9722): WprAddons\Modules\WooGrid\Widgets\Wpr_Woo_Grid->render_product_add_to_cart()

    WooCommerce only supports get_product_url on External products, see source. It is probably worth hardening this bit of your code to test if get_product_url is callable… here’s an example. That should prevent it from running on a mix-and-match type product (or any other unsupported product type).

    • This topic was modified 1 month ago by HelgaTheViking. Reason: remove url
Viewing 1 replies (of 1 total)
  • Plugin Contributor George

    (@rubeushagrid13)

    Hello,

    We’ve made necessary changes and include it in next update.

    Kind regards,
    George

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.