Title: Critical error
Last modified: July 21, 2023

---

# Critical error

 *  Resolved [dobbarbaz](https://wordpress.org/support/users/dobbarbaz/)
 * (@dobbarbaz)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/critical-error-549/)
 * Hello.
 * I have problem With Yith woocommerce add-on plugin. While I try to add item in
   shopping cart it gives me critical error. Tried to disable all plugins and nothing
   fixed it.
 * > PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool
   > in /www/apache/domains/www.numbridiiler.ee/htdocs/wp-content/plugins/woocommerce/
   > includes/wc-product-functions.php:1126\nStack trace:\n#0 /www/apache/domains/
   > www.numbridiiler.ee/htdocs/wp-content/plugins/yith-woocommerce-product-add-
   > ons/plugin-fw/yit-woocommerce-compatibility.php(572): wc_get_price_to_display(
   > false, Array)\n#1 /www/apache/domains/www.numbridiiler.ee/htdocs/wp-content/
   > plugins/yith-woocommerce-product-add-ons/includes/class-yith-wapo-cart.php(
   > 222): yit_get_display_price(false)\n#2 /www/apache/domains/www.numbridiiler.
   > ee/htdocs/wp-includes/class-wp-hook.php(310): YITH_WAPO_Cart->add_cart_item(
   > Array)\n#3 /www/apache/domains/www.numbridiiler.ee/htdocs/wp-includes/plugin.
   > php(205): WP_Hook->apply_filters(Array, Array)\n#4 /www/apache/domains/www.
   > numbridiiler.ee/htdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.
   > php(1265): apply_filters(‘woocommerce_add…’, Array, ‘e7f3a5511bbe064…’)\n#5/
   > ww…’, referer: [https://numbridiiler.ee/toode/beebipidu-lipukett/](https://numbridiiler.ee/toode/beebipidu-lipukett/)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-549%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Giuseppe Madaudo](https://wordpress.org/support/users/askmagic/)
 * (@askmagic)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/critical-error-549/#post-16912563)
 * Hi there,
 * We just released a new version of the plugin in order to solve this issue.
 *  Thread Starter [dobbarbaz](https://wordpress.org/support/users/dobbarbaz/)
 * (@dobbarbaz)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/critical-error-549/#post-16912679)
 * Thank you, it fixed the problem 🙂
    -  This reply was modified 2 years, 9 months ago by [dobbarbaz](https://wordpress.org/support/users/dobbarbaz/).

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

The topic ‘Critical error’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-product-add-ons/assets/icon-128x128.gif?
   rev=3142291)
 * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dobbarbaz](https://wordpress.org/support/users/dobbarbaz/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/critical-error-549/#post-16912679)
 * Status: resolved