Title: Fatal Error
Last modified: August 30, 2016

---

# Fatal Error

 *  Resolved [hegeds](https://wordpress.org/support/users/hegeds/)
 * (@hegeds)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-1895/)
 * [25-Nov-2015 14:06:16 UTC] PHP Fatal error: Call to a member function get_tax_class()
   on a non-object in ~/wp-content/plugins/pricing-deals-for-woocommerce/woo-integration/
   vtprd-parent-functions.php on line 692
 * Function receives empty product_id and empty product
 * [https://wordpress.org/plugins/pricing-deals-for-woocommerce/](https://wordpress.org/plugins/pricing-deals-for-woocommerce/)

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

 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-1895/#post-6786681)
 * Hi,
 * Thanks for your query. This issue is caused by an incorrect/incomplete data conversion
   during a WOO update. One/many of your variable products is the source of this
   issue.
 * The fix is simple. In wp-admin, just full-screen edit each variable product and
   re-save it, without changing anything. This clears the error. Often, it’s a single
   product which is causing the issue.
 * If you continue to have a problem, please contact me via my support channel [http://www.varktech.com/support/](http://www.varktech.com/support/)
   and let’s get together via skype and sort this out.
 * Let me know…
 * Best,
    Vark
 *  Thread Starter [hegeds](https://wordpress.org/support/users/hegeds/)
 * (@hegeds)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1895/#post-6786845)
 * Hi vark
 * thanks for your response.
 * frankly I have uninstalled the plugin after said error and realized given demands
   with another.
 * I advice to build functions able to handle all sorts of input. In 2015 no single
   function should just die, rather it should gracefully fail.
    [https://www.google.ch/webhp?q=graceful+failure](https://www.google.ch/webhp?q=graceful+failure)
 * Implementing other software architecture principle might advice further to log
   such errors, other go as far as correcting the underlying data…
 * Please, i don’t mean to be rude, but an extendable system like wordpress offers
   a lot of freedom, which comes with a price. A plugin unable to fail gracefully
   jeopardizes the entire system stability. Thus is a no go.
 * Do you have any idea how many variable products I would need to save manually?
 * best
 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1895/#post-6786846)
 * Hi,
    I haven’t any data on that, but here’s a previous users experience: [https://wordpress.org/support/topic/not-working-1455?replies=5](https://wordpress.org/support/topic/not-working-1455?replies=5)
   Best, Vark

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/pricing-deals-for-woocommerce.svg)
 * [Pricing Deals for WooCommerce](https://wordpress.org/plugins/pricing-deals-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pricing-deals-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pricing-deals-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [vark](https://wordpress.org/support/users/vark/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1895/#post-6786846)
 * Status: resolved