Support » Plugin: WooCommerce Subscriptions Extras » Fatal Error

  • Resolved deliciousweb

    (@deliciousweb)


    attempting to update subscriptions we get this error

    Fatal error: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids() in /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php:190 Stack trace: #0 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(459): WC_Customer->get_taxable_address() #1 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location(”, Object(WC_Customer)) #2 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php(976): WC_Tax::get_rates(”) #3 /home/funkypumpers/public_html/wp-content/plugins/woo-subscription-extras/wselite.php(431): wc_get_price_including_tax(Object(WC_Product_Subscription), Array) #4 /home/funkypumpers/public_html/wp-content/plugins/woo-subscription-extras/wselite.php(382): wsextra_update_order_item_product(Object(WC_Subscription), Object(WC_Order_Item_Product)) #5 /home/funkypumpers/public_html/wp-content/plugins/woo-subscription-extras/ws in /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php on line 190
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author moiseh

    (@moiseh)

    Hello,

    I can’t reproduce the issue in my PC install.

    Although released an update that may fix the issue based in my presumption in what caused the issue.

    If still persists please send me a staging admin access to moiseh [at] gmail [dot] com if possible, it’s easy to reproduce the issue, thanks.

    Thread Starter deliciousweb

    (@deliciousweb)

    thanks for this still getting error with updated plugin

    Fatal error: Uncaught Error: Call to a member function get() on null in /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php:392 Stack trace: #0 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(190): wc_get_chosen_shipping_method_ids() #1 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(459): WC_Customer->get_taxable_address() #2 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location(”, Object(WC_Customer)) #3 /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php(976): WC_Tax::get_rates(”) #4 /home/funkypumpers/public_html/wp-content/plugins/woo-subscription-extras/wselite.php(435): wc_get_price_including_tax(Object(WC_Product_Subscription), Array) #5 /home/funkypumpers/public_html/wp-content/plugins/woo-subscription-extras/wselite.php(386): wsextra_update_order_item_product(Object(WC_Subscripti in /home/funkypumpers/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 392
    There has been a critical error

    Plugin Author moiseh

    (@moiseh)

    Please send me a staging admin access to moiseh [at] gmail [dot] com if possible, it’s easy to reproduce the issue, thanks.

    Thread Starter deliciousweb

    (@deliciousweb)

    will do this now as the error stil occurs – will add you as admin on the site now

    Plugin Author moiseh

    (@moiseh)

    Thanks for providing the wp-admin.
    I reproduced and fixed the issue.

    Thread Starter deliciousweb

    (@deliciousweb)

    superstar – thanks and take a bow sir

    Thread Starter deliciousweb

    (@deliciousweb)

    unfortunately the clients have just told me this doesnt work now 🙁
    have sent you an email with new wordpress admin access

    their comments:

    It doesn’t seem to have updated the price of the subscriptions at all (even though it gave the confirmation message that ‘all XX subscriptions have been updated’) and actually seems to have reverted to old pricing AND added VAT on top which shouldn’t be the case as many of these orders should be exempt from VAT (!) Not really sure why, seems to have done the exact opposite of what it is supposed to.

    The only workaround I could find was to manually update the orders but WooCommerce will only let me do this for subscriptions paid by Worldpay, and not PayPal. I’m assuming this is because PayPal is effectively like setting

    Plugin Author moiseh

    (@moiseh)

    Sorry for the issues.
    In this case there’s nothing i can do for the right price calculation 🙁

    Thread Starter deliciousweb

    (@deliciousweb)

    is there anything we can do to fix this?

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