• Resolved thetealscenario

    (@thetealscenario)


    Hello, I’m having a critical issue with our website. I see the error page when i try to edit with elementor on homepage. And i tried to deactivate the plugins one by one. when i deactivated woocommerce, i was able to use elementor. But since I’m selling clothes on my website, It’s impossible to not using woocommerce. I asked about this to Bluehost but they couldn’t find anything. It seems like there’s something wrong with woocommerce.
    Can you please help me?

    also, this was in the mail sent by wordpress when i saw the critical error page.

    Error Details
    =============
    An error of type E_ERROR was caused in line 190 of the file /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php. Error message: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids() in /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php:190
    Stack trace:
    #0 /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(459): WC_Customer->get_taxable_address()
    #1 /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location(”, Object(WC_Customer))
    #2 /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php(400): WC_Tax::get_rates()
    #3 /home2/theteals/public_html/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 /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Variable_Data_Store_CPT->read_price_data(Object(WC_Product_Variable), true)

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

    (@hiphopservers)

    I got a similar issue on a free install of the store.

    hiphopservers

    (@hiphopservers)

    This was the error I got with no other plugins installed or active.

    Fatal error: Uncaught IntlException: Constructor failed in /home/username/domains/fall4urbeauty.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799 Stack trace: #0 /home/username/domains/fall4urbeauty.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US') #1 /home/username/domains/fall4urbeauty.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array) #2 /home/username/domains/fall4urbeauty.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php(115): WC_Countries->get_countries() #3 /home/username/domains/fall4urbeauty.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1050): WC_REST_Data_Countries_Controller->get_items(Object(WP_REST_Request)) #4 /home/username/domains/fall4urbeauty.com/public_html/wp-includes/rest-api.php(464): WP_REST_Server->dispatch(Object(WP_REST_Request)) #5 /home/username/domain in /home/username/domains/fall4urbeauty.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1799

    Plugin Support con

    (@conschneider)

    Engineer

    Thanks for the error message.

    Uncaught IntlException: Constructor failed is a very base error and in that case could happen to a syntax error caused by the active PHP version.

    Which PHP version are you running?

    Plugin Support con

    (@conschneider)

    Engineer

    And: Error message: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids() in /home2/theteals/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php:190

    Call to undefined function This happens 1) when the file / function really is missing (unlikely) or 2) the server fails to load it while trying (more likely).

    Do you have the possibility to only activate WooCommerce while all other plugins are off? For example on a staging site?

    Kind regards,

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘critical issue with woccommerce’ is closed to new replies.