Title: Errors in log
Last modified: October 26, 2023

---

# Errors in log

 *  [richardferlow](https://wordpress.org/support/users/richardferlow/)
 * (@richardferlow)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/errors-in-log-18/)
 * 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](https://siberiasalon.com/wp-admin/plugin-editor.php?file=woocommerce%2Fincludes%2Fclass-wc-cart-totals.php&plugin=wpseo-woocommerce%2Fwpseo-woocommerce.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](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](https://***.com/tienda_productos_manicura_pedicura/?orderby=date)

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

 *  [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * (@cartpopsteam)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/errors-in-log-18/#post-17154810)
 * 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](https://wordpress.org/support/users/richardferlow/)
 * (@richardferlow)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/errors-in-log-18/#post-17154893)
    1. woocommerce 8.2.1
    2. php 7.4.33
 *  [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * (@cartpopsteam)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/errors-in-log-18/#post-17159974)
 * 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/](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.

 * ![](https://ps.w.org/cartpops/assets/icon-256x256.png?rev=2459769)
 * [CartPops - High Converting Add To Cart Popup For WooCommerce](https://wordpress.org/plugins/cartpops/)
 * [Support Threads](https://wordpress.org/support/plugin/cartpops/)
 * [Active Topics](https://wordpress.org/support/plugin/cartpops/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cartpops/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cartpops/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/errors-in-log-18/#post-17159974)
 * Status: not resolved