• Resolved crafters

    (@craftersmarketuk)


    Managed to find a critical bug. I wondered if anyone can confirm it’s just us.
    When a vendor attempts to cancel from a subscription membership, there’s a 500 error from ajax-admin.

    2021-04-21T10:57:13+00:00 CRITICAL Uncaught Error: Call to undefined function wcs_get_subscription() in /home/PATH/public_html/wp-content/plugins/wc-multivendor-membership/core/class-wcfmvm.php:1726
    Stack trace:
    #0 /home/PATH/public_html/wp-content/plugins/wc-multivendor-membership/core/class-wcfmvm-ajax.php(479): WCFMvm->wcfmvm_vendor_membership_cancel(215, 8885)
    #1 /home/PATH/public_html/wp-includes/class-wp-hook.php(292): WCFMvm_Ajax->wcfmvm_membership_cancel(”)
    #2 /home/PATH/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #3 /home/PATH/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /home/PATH/public_html/wp-admin/admin-ajax.php(187): do_action(‘wp_ajax_wcfmvm_…’)
    #5 {main}
    thrown in /home/PATH/public_html/wp-content/plugins/wc-multivendor-membership/core/class-wcfmvm.php on line 1726

    • This topic was modified 2 years, 12 months ago by crafters. Reason: moved to membership plugin forum
  • The topic ‘Vendor cannot cancel subscription’ is closed to new replies.