• I’m having problems with my Elementor, and it seems to be a Woocommerce error.
    When I try to edit a page with Elementor that has a product widget in it, there appears an error and I can’t seem to solve it. I don’t know how long it’s been going on, I found out yesterday when i tried editing my homepage, which has the two product widgets. Like I said, the conflict only appears on those pages that has any product widget on them.

    This is the message error I get when I try to edit my homepage with Elementor:

    Fatal error: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids() in /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/class-wc-customer.php:190 Stack trace: #0 /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/class-wc-tax.php(459): WC_Customer->get_taxable_address() #1 /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location('', Object(WC_Customer)) #2 /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(400): WC_Tax::get_rates() #3 /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(258): WC_Product_Variable_Data_Store_CPT->get_price_hash(Object(WC_Product_Variable), true) #4 /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/pl in /homepages/35/d819611979/htdocs/hellopublidesdecero/wp-content/plugins/woocommerce/includes/class-wc-customer.php on line 190

    I’ve updated both plugins to the most recent version, which came out today, but the problem is still there.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • saffer

    (@saffer)

    Hi there,

    Did elementor ever come back to you with solution for this issue?
    I am having the exact same issue – When I switch off the tax the error goes away but I need to use tax on my site.

    Please advise

    Kind regards,
    Farhad

    Thread Starter kreativamarketing

    (@kreativamarketing)

    No, they didn’t get to me nor provided me a solution.

    marcubog

    (@marcubog)

    + 1 here. Just noticed that I’m having the same issue. And I need to be able to calculate taxes so I don’t want to switch that off.

    Did you guys find any workarounds?

    Thread Starter kreativamarketing

    (@kreativamarketing)

    I don’t remember what I did, but last thing I have noted down regarding that issue is commenting line 190 to 192 on the /plugins/woocommerce/includes/class-wc-customer.php file.
    I don’t know if it’ll solve anything, but it’s worth giving it a try.
    I hope it helps!

    saffer

    (@saffer)

    I have not resolved the issue. I only get the error when I try t edit with Elementor. So what I am doing is switching off the Tax in woocommerce when I need to edit and then switching it back on when I’m done. Irritating but it works for now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids()’ is closed to new replies.