Title: Fatal Error
Last modified: December 6, 2021

---

# Fatal Error

 *  Resolved [Pexle Chris](https://wordpress.org/support/users/pexlechris/)
 * (@pexlechris)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-4026/)
 * [02-Dec-2021 20:00:06 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_id() on bool in /mysite/wp-content/plugins/yith-woocommerce-subscription/
   includes/class.yith-wc-subscription.php:158
    Stack trace: #0 /mysite/wp-content/
   plugins/yith-woocommerce-subscription/includes/class.yith-wc-subscription.php(
   245): YITH_WC_Subscription->is_subscription(false) #1 /mysite/wp-includes/class-
   wp-hook.php(287): YITH_WC_Subscription->order_formatted_line_subtotal(‘<span 
   class=”wo…’, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\
   Overrides\Order)) #2 /mysite/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘
   <span class=”wo…’, Array) #3 /mysite/wp-content/plugins/woocommerce/includes/
   abstracts/abstract-wc-order.php(1900): apply_filters(‘woocommerce_ord…’ in /mysite/
   wp-content/plugins/yith-woocommerce-subscription/includes/class.yith-wc-subscription.
   php on line 158
 * I get this error. In which cases this error can be happened?
    -  This topic was modified 4 years, 6 months ago by [Pexle Chris](https://wordpress.org/support/users/pexlechris/).
    -  This topic was modified 4 years, 6 months ago by [Pexle Chris](https://wordpress.org/support/users/pexlechris/).

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

 *  Plugin Support [Carlos M](https://wordpress.org/support/users/cjmora/)
 * (@cjmora)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-4026/#post-15140277)
 * Hi [@pexlechris](https://wordpress.org/support/users/pexlechris/),
 * This error arises because the product from some order has been deleted.
    However,
   you have a very old version of the plugin, you should keep it updated.
 * Regarding the error, I have reported the developers to add a check to the next
   release that will prevent this error when a product is deleted. Thank you.
 *  Thread Starter [Pexle Chris](https://wordpress.org/support/users/pexlechris/)
 * (@pexlechris)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-4026/#post-15140941)
 * ok thanks

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

The topic ‘Fatal Error’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Pexle Chris](https://wordpress.org/support/users/pexlechris/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-4026/#post-15140941)
 * Status: resolved