Error with WooCommerce

  • Unknown's avatar

    Good morning,
    I have received an email from WordPress, telling me that WooCommerce caused some error and now I cannot modify any page (with Elementor).
    This is the information contained in the email:

    Un errore di E_ERROR è stato causato nella linea 179 del file /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php. Messaggio di errore: Uncaught Error: Call to undefined function wc_get_cart_item_data_hash() in /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php:179
    Stack trace:
    #0 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(602): WC_Cart_Session->get_cart_from_session()
    #1 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(740): WC_Cart->get_cart()
    #2 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-cart.php(700): WC_Cart->check_cart_item_validity()
    #3 /home/wwwlanz/www/wp-includes/class-wp-hook.php(310): WC_Cart->check_cart_items(”)
    #4 /home/wwwlanz/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #5 /home/wwwlanz/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action(‘woocommerce_che…’)
    #7 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output(Array)
    #8 /home/wwwlanz/www/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper(Array)
    #9 /home/wwwlanz/www/wp-includes/shortcodes.php(395): WC_Shortcodes::cart(”, ”, ‘woocommerce_car…’)
    #10 [internal function]: do_shortcode_tag(Array)
    #11 /home/wwwlanz/www/wp-includes/shortcodes.php(235): preg_replace_callback(‘/[([?)(woocom…’, ‘do_shortcode_ta…’, ‘

    Here is the information about my website (language-teacher.it):
    Versione di WordPress 6.3.1
    Tema attivo: Hello Elementor (versione 2.8.1)
    Plugin corrente: WooCommerce (versione 8.1.1)
    Versione PHP 8.0.30

    Here is a list of plugins that I am using (I have already tried to deactivate them all, but the problem still remains, so it is unlikely that this is a conflict issue):
    All in One SEO
    CookieYes | GDPR Cookie Consent
    Elementor
    Google Analytics for WordPress by MonsterInsights
    Google Listings and Ads
    Hummingbird
    MailPoet
    PDF viewer for Elementor
    Royal Elementor Addons
    Simply Schedule Appointments
    Smush
    TrustPulse API
    UserFeedback Lite
    WooCommerce
    WooCommerce Payments
    Wordfence Security
    WP AutoTerms

    Does anyone know how to solve this issue?

    WP.com: Yes
    Jetpack: No
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    It sounds like you need help with the WooCommerce plugin but have landed on the support forum for WordPress.com sites instead.

    We don’t offer WooCommerce on WordPress.com (unless you are upgraded to our WordPress.com Business or eCommerce Plan) so we are not your best point of contact, but the good news is that help is available by contacting WooCommerce staff here:

    https://wordpress.org/support/plugin/woocommerce/#new-topic-0

    Thanks!

  • The topic ‘Error with WooCommerce’ is closed to new replies.