PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

WOOCS causing Elementor to not work

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

When WOOCS is activated I can't edit any pages with Elementor that include the WooCommerce shortcodes. This error message appears:

.wp-die-message { display: none; }

Fatal error: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids()
in /home/admin/web/karatethreads.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php on line 190

Call stack:

  1. WC_Customer::get_taxable_address()
    wp-content/plugins/woocommerce/includes/class-wc-tax.php:459
  2. WC_Tax::get_tax_location()
    wp-content/plugins/woocommerce/includes/class-wc-tax.php:481
  3. WC_Tax::get_rates()
    wp-content/plugins/woocommerce/includes/wc-product-functions.php:987
  4. wc_get_price_including_tax()
    wp-content/plugins/woocommerce/includes/wc-product-functions.php:1094
  5. wc_get_price_to_display()
    wp-content/plugins/woocommerce-currency-switcher/classes/woocs_after_33.php:4642
  6. WOOCS::woocs_calc_tax_price()
    wp-content/plugins/woocommerce-currency-switcher/classes/woocs_after_33.php:1435
  7. WOOCS::woocommerce_variation_prices()
    wp-includes/class-wp-hook.php:287
  8. WP_Hook::apply_filters()
    wp-includes/plugin.php:206
  9. apply_filters()
    wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php:382
  10. WC_Product_Variable_Data_Store_CPT::read_price_data()
    wp-content/plugins/woocommerce/includes/class-wc-data-store.php:207
  11. WC_Data_Store::__call()
    wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:81
  12. WC_Product_Variable::get_variation_prices()
    wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:498
  13. WC_Product_Variable::is_on_sale()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:630
  14. wc_get_product_class()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:692
  15. wc_product_class()
    wp-content/plugins/woocommerce/templates/content-product.php:27
  16. require()
    wp-includes/template.php:725
  17. load_template()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:197
  18. wc_get_template_part()
    wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php:660
  19. WC_Shortcode_Products::product_loop()
    wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php:100
  20. WC_Shortcode_Products::get_content()
    wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php:259
  21. WC_Shortcodes::recent_products()
    wp-includes/shortcodes.php:343
  22. do_shortcode_tag()
  23. preg_replace_callback()
    wp-includes/shortcodes.php:218
  24. do_shortcode()
    wp-content/plugins/elementor/includes/widgets/shortcode.php:130
  25. Elementor\Widget_Shortcode::render()
    wp-content/plugins/elementor/includes/base/widget-base.php:531
  26. Elementor\Widget_Base::render_content()
    wp-content/plugins/elementor/includes/base/widget-base.php:644
  27. Elementor\Widget_Base::get_raw_data()
    wp-content/plugins/elementor/includes/base/element-base.php:720
  28. Elementor\Element_Base::get_raw_data()
    wp-content/plugins/elementor/includes/base/element-base.php:720
  29. Elementor\Element_Base::get_raw_data()
    wp-content/plugins/elementor/includes/base/element-base.php:720
  30. Elementor\Element_Base::get_raw_data()
    wp-content/plugins/elementor/includes/base/element-base.php:720
  31. Elementor\Element_Base::get_raw_data()
    wp-content/plugins/elementor/core/base/document.php:714
  32. Elementor\C\B\Document::get_elements_raw_data()
    wp-content/plugins/elementor/core/base/document.php:478
  33. Elementor\C\B\Document::get_initial_config()
    wp-content/plugins/elementor/includes/base/controls-stack.php:1855
  34. Elementor\Controls_Stack::_get_initial_config()
    wp-content/plugins/elementor/includes/base/controls-stack.php:973
  35. Elementor\Controls_Stack::get_config()
    wp-content/plugins/elementor/core/editor/editor.php:528
  36. Elementor\C\E\Editor::enqueue_scripts()
    wp-includes/class-wp-hook.php:287
  37. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
  38. WP_Hook::do_action()
    wp-includes/plugin.php:478
  39. do_action()
    wp-includes/script-loader.php:2294
  40. wp_enqueue_scripts()
    wp-includes/class-wp-hook.php:287
  41. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
  42. WP_Hook::do_action()
    wp-includes/plugin.php:478
  43. do_action()
    wp-includes/general-template.php:2884
  44. wp_head()
    wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php:31
  45. include()
    wp-content/plugins/elementor/core/editor/editor.php:324
  46. Elementor\C\E\Editor::print_editor_template()
    wp-content/plugins/elementor/core/editor/editor.php:165
  47. Elementor\C\E\Editor::init()
    wp-includes/class-wp-hook.php:287
  48. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
  49. WP_Hook::do_action()
    wp-includes/plugin.php:478
  50. do_action()
    wp-admin/admin.php:401
  51. require_once()
    wp-admin/post.php:12

Disabling the WOOCS plugin only allows me to edit these pages with Elementor. Re-enabling WOOCS then causes the same problem. The WOOCS plugin is working correctly when enabled on the frontend. Please help!

Regards,

Trent

Hello Trent

Try  to  add code -  https://c2n.me/482T3ii.png -    in  file - wp-content\plugins\woocommerce-currency-switcher\index.php

if (isset($_GET['action']) AND $_GET['action'] == 'elementor') {
return false;
}

That fixed it! Thank you, Pablo.

Regards,

Trent

Hello Trent

Welcome;)