• Resolved taropaa

    (@taropaa)


    Hi, when used with Gravity Forms Product Addons (https://woocommerce.com/products/gravity-forms-add-ons/) Adding to cart results in a 500 server error.

    The error thrown is:
    PHP Fatal error: Uncaught Error: Using $this when not in object context in /wordpress/htdocs/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php:149\nStack trace:\n#0 /wordpress/htdocs/wp-includes/class-wp-hook.php(286): woocommerce_add_to_cart_variable_rc_callback(”)\n#1 /htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#2 /htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#3 /htdocs/wp-admin/admin-ajax.php(173): do_action(‘wp_ajax_woocomm…’)\n#4 {main}\n thrown in /htdocs/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php on line 149\n’, referer: [url removed]/takeout/?removed_item=1

  • The topic ‘Conflict with Gravity Forms Product Add-ons’ is closed to new replies.