Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16190
    AndeS
    Participant

    When I schedule a coupon it gives me a critical error. Is there a fix for this?

    Error Details
    =============
    An error of type E_ERROR was caused in line 601 of the file /www/wp-content/plugins/woocommerce-points-and-rewards/includes/class-wc-points-rewards-cart-checkout.php. Error message: Uncaught Error: Call to a member function calculate_totals() on null in /www/wp-content/plugins/woocommerce-points-and-rewards/includes/class-wc-points-rewards-cart-checkout.php:601
    Stack trace:
    #0 /www/wp-content/plugins/woocommerce-points-and-rewards/includes/class-wc-points-rewards-discount.php(68): WC_Points_Rewards_Cart_Checkout::get_discount_for_redeeming_points(true, NULL, false, ”)
    #1 /wordpress/wp-includes/class-wp-hook.php(289): WC_Points_Rewards_Discount->get_discount_data(false, ”)
    #2 /wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array)
    #3 /www/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(94): apply_filters(‘woocommerce_get…’, false, ”, Object(WC_Coupon))
    #4 /www/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-coupon.php(831): WC_Coupon->__construct(”)
    #5 /www/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-coupon.php(1073): WC_Subscriptions_Coupon::get_coupon_limit(”)
    #6 /wordpress/wp-includes/

    #16191
    Soft79
    Keymaster

    The error is from the WooCommerce Points and rewards-plugin.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.