• Hi, I have a huge problem with the latest WooCommerce updates.

    If I add a product to the cart, it is the first one in the store that is taken into account.
    Impossible to add another product!!!

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

Viewing 1 replies (of 1 total)
  • Thread Starter momo-fr

    (@momo-fr)

    I have this message error message via e-mail:

    Extension actuelle?: WooCommerce (version 9.4.2)
    PHP version 8.1.30

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 1869 du fichier /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php. Message d’erreur?: Uncaught TypeError: Collator::asort(): Argument #1 ($array) must be of type array, bool given in /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1869
    Stack trace:
    #0 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1869): Collator->asort()
    #1 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(72): wc_asort_by_locale()
    #2 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(48): WC_Countries->get_countries()
    #3 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(290): WC_Countries->__get()
    #4 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1338): WC_Countries->get_allowed_countries()
    #5 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(168): wc_get_customer_default_location()
    #6 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(157): WC_Customer_Data_Store_Session->set_defaults()
    #7 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read()
    #8 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(125): WC_Data_Store->read()
    #9 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1025): WC_Customer->__construct()
    #10 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2570): WooCommerce->initialize_cart()
    #11 /home/cp352623/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(843): wc_load_cart()
    #12 /home/cp352623/public_html/wp-includes/class-wp-hook.php(324): WooCommerce->init()
    #13 /home/cp352623/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #14 /home/cp352623/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #15 /home/cp352623/public_html/wp-settings.php(704): do_action()
    #16 /home/cp352623/public_html/wp-config.php(94): require_once('/home/cp352623/...')
    #17 /home/cp352623/public_html/wp-load.php(50): require_once('/home/cp352623/...')
    #18 /home/cp352623/public_html/wp-admin/admin-ajax.php(22): require_once('/home/cp352623/...')
    #19 {main}
    ? thrown
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.