• richardferlow

    (@richardferlow)


    Hello

    i have this php fatal error in log

    PHP FatalUncaught Error: Call to a member function get_tax_class() on nullStack trace:#0 /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(658): WC_Cart_Totals->get_items_from_cart()#1 /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(150): WC_Cart_Totals->calculate_item_totals()#2 /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate()#3 /wp-content/plugins/woocommerce/includes/class-wc-cart.php(1406): WC_Cart_Totals->__construct()#4 /wp-content/plugins/woocommerce/includes/class-wc-cart.php(1365): WC_Cart->calculate_totals()#5 /wp-content/plugins/cartpops/public/class-cartpops-ajax in /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 232
    File:?/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php
    Line: 232

    how to fix that?

    And Javascript error

    TypeError: this.refreshFragments is not a function. (In ‘this.refreshFragments()’, ‘this.refreshFragments’ is undefined) in https://***.com/wp-content/plugins/cartpops/public/dist/js/frontend.min.js?ver=1.4.28 on line 2 column 29063 at https://***.com/tienda_productos_manicura_pedicura/?orderby=date

Viewing 3 replies - 1 through 3 (of 3 total)
  • cartpopsteam

    (@cartpopsteam)

    Hello Richard,

    It appears that the PHP fatal error you’re encountering is related to a specific function call within your WooCommerce setup. To address this issue, please follow these steps:

    1. Check WooCommerce Version: Ensure that you are using a compatible version of WooCommerce with the other plugins you have installed. Sometimes, updating WooCommerce to the latest version can resolve such errors.
    2. PHP Version: Make sure your PHP version is set to 7.4 or higher. Some plugins and features in WooCommerce may require a more recent PHP version to work correctly.

    Let us know how it goes.

    Best,

    Niel, Cartpops Team

    Thread Starter richardferlow

    (@richardferlow)

    1. woocommerce 8.2.1
    2. php 7.4.33
    cartpopsteam

    (@cartpopsteam)

    Hello Richard,

    I’m sorry to hear that you’re experiencing these PHP and JavaScript errors. To effectively assist you in resolving these issues, it would be extremely helpful if you could provide us with steps to replicate the problem or trigger the errors. This will enable us to diagnose the root cause and find a suitable solution.

    Additionally, please consider submitting a support ticket through https://cartpops.com/. When doing so, kindly include the following information to expedite the troubleshooting process:

    1. Logins for accessing your WordPress dashboard.
    2. Detailed steps to replicate the errors.
    3. Any specific conditions or configurations that might be related to these issues.
    4. Any recent changes or updates made to your website that could be relevant.

    With this information, we’ll be better equipped to investigate and resolve the errors you’re encountering. Thank you for your cooperation, and we’ll do our best to assist you as swiftly as possible.

    Best,

    Niel, Cartpops Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors in log’ is closed to new replies.