Title: Breaking theme
Last modified: June 22, 2021

---

# Breaking theme

 *  Resolved [donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/)
 * (@donovanmediaholic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/)
 * I checked my website and noticed the theme was broken. In troubleshooting, I 
   disabled all plugins and enabled them one-by-one and found the problem returned
   with Woo-combo offers.
 * Interestingly, I have been working on the same site in a staging area using a
   different theme, but all the same plugins. Woo-combo offers broke that theme 
   as well.
 * I am using a theme called Woostify and Astra on the 2 sites. I see this has not
   been tested with the latest version of WordPress.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbreaking-theme-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Vidish](https://wordpress.org/support/users/vidishp/)
 * (@vidishp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14586159)
 * [@donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/) 
   Sorry for the trouble. Can you please check your site’s error log and see if 
   you find any error related to Woo Combo Offers?
 * Thanks,
    Vidish
 *  Plugin Author [Vidish](https://wordpress.org/support/users/vidishp/)
 * (@vidishp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14586166)
 * Do you mean your site is broken with fatal error or the theme has layout issue?
   If theme has layout issue, then can you please specify which feature in the plugin
   are you using which is causing this?
 * Thanks,
    Vidish
 *  Thread Starter [donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/)
 * (@donovanmediaholic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14606705)
 * Hi, not sure why I wasn’t notified of your reply.
    The theme fails to load entirely.
   You can still see content but in a default WordPress layout.
 * Here is the log;
    [22-Jun-2021 12:30:59 UTC] PHP Fatal error: Uncaught Error:
   Call to a member function get_type() on bool in /home/*****public_html/wp-content/
   plugins/woo-combo-offers/woo-combo-offers.php:618 Stack trace: #0 /home/******/
   public_html/wp-includes/class-wp-hook.php(292): WooExtendWooco->wooco_check_stock_status(
   true, Object(WC_Product_Wooco)) #1 /home/******/public_html/wp-includes/plugin.
   php(212): WP_Hook->apply_filters(true, Array) #2 /home/******/public_html/wp-
   content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1594):
   apply_filters(‘woocommerce_pro…’, true, Object(WC_Product_Wooco)) #3 /home/*****/
   public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(
   1290): WC_Product->is_in_stock() #4 /home/******/public_html/wp-content/plugins/
   essential-addons-for-elementor-lite/includes/Template/Eicon-Woocommerce/default.
   php(69): woocommerce_template_loop_add_to_cart() #5 /home/******/public_html/
   wp-content/plugins/essential-addons-for-elementor-lite/includes/Elements/Product_Grid.
   php(3018): include(‘/ho in /home/******/public_html/wp-content/plugins/woo-combo-
   offers/woo-combo-offers.php on line 618`
    -  This reply was modified 4 years, 11 months ago by [donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/).
 *  Plugin Author [Vidish](https://wordpress.org/support/users/vidishp/)
 * (@vidishp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14607862)
 * [@donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/) 
   I have released a new version of plugin and after updating to it, it should all
   work fine for you.
 * Let me know if that helps. If you like plugin and support, it would be great 
   if you can write a great feedback!
 * Thank you!
    Vidish
 *  Thread Starter [donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/)
 * (@donovanmediaholic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14618387)
 * [@vidishp](https://wordpress.org/support/users/vidishp/) It still breaks the 
   theme, unfortunately.
    Here is the error from the log when I tested after the
   update;
 * [02-Jul-2021 06:37:46 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_type() on bool in /home/*****/public_html/wp-content/plugins/woo-
   combo-offers/woo-combo-offers.php:618
    Stack trace: #0 /home/*****/public_html/
   wp-includes/class-wp-hook.php(292): WooExtendWooco->wooco_check_stock_status(
   true, Object(WC_Product_Wooco)) #1 /home/*****/public_html/wp-includes/plugin.
   php(212): WP_Hook->apply_filters(true, Array) #2 /home/*****/public_html/wp-content/
   plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1594): apply_filters(‘
   woocommerce_pro…’, true, Object(WC_Product_Wooco)) #3 /home/*****/public_html/
   wp-content/plugins/woocommerce/includes/wc-template-functions.php(1290): WC_Product-
   >is_in_stock() #4 /home/*****/public_html/wp-content/plugins/essential-addons-
   for-elementor-lite/includes/Template/Eicon-Woocommerce/default.php(69): woocommerce_template_loop_add_to_cart()#
   5 /home/*****/public_html/wp-content/plugins/essential-addons-for-elementor-lite/
   includes/Elements/Product_Grid.php(3038): include(‘/ho in /home/*****/public_html/
   wp-content/plugins/woo-combo-offers/woo-combo-offers.php on line 618`
 * It seems to be a conflict between your plugin and Essential Addons for Elementor
   Lite
    If I deactivate Essential Elements the theme is fine.
 * I tested on my second version of this same site and got the following error;
 * [02-Jul-2021 06:45:48 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_type() on bool in /home/****/refuel.mediaholic.co.za/wp-content/
   plugins/woo-combo-offers/woo-combo-offers.php:618
    Stack trace: #0 /home/****/
   refuel.mediaholic.co.za/wp-includes/class-wp-hook.php(292): WooExtendWooco->wooco_check_stock_status(
   true, Object(WC_Product_Wooco)) #1 /home/*****/refuel.mediaholic.co.za/wp-includes/
   plugin.php(212): WP_Hook->apply_filters(true, Array) #2 /home/*****/refuel.mediaholic.
   co.za/wp-content/*****/woocommerce/includes/abstracts/abstract-wc-product.php(
   1594): apply_filters(‘woocommerce_pro…’, true, Object(WC_Product_Wooco)) #3 /
   home/mediahold/refuel.mediaholic.co.za/wp-content/plugins/woolentor-addons/includes/
   helper-function.php(446): WC_Product->is_in_stock() #4 /home/*****/refuel.mediaholic.
   co.za/wp-content/plugins/woolentor-addons/includes/addons/universal_product.php(
   2497): woolentor_sale_flash() #5 /home/*****/refuel.mediaholic.co.za/wp-content/
   plugins/elementor/includes/base/controls-stack.php(18 in /home/*****/refuel.mediaholic.
   co.za/wp-content/plugins/woo-combo-offers/woo-combo-offers.php on line 618
 * [02-Jul-2021 06:46:04 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_type() on bool in /home/*****/refuel.mediaholic.co.za/wp-content/
   plugins/woo-combo-offers/woo-combo-offers.php:618
    Stack trace: #0 /home/*****/
   refuel.mediaholic.co.za/wp-includes/class-wp-hook.php(292): WooExtendWooco->wooco_check_stock_status(
   true, Object(WC_Product_Wooco)) #1 /home/*****/refuel.mediaholic.co.za/wp-includes/
   plugin.php(212): WP_Hook->apply_filters(true, Array) #2 /home/*****/refuel.mediaholic.
   co.za/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(
   1594): apply_filters(‘woocommerce_pro…’, true, Object(WC_Product_Wooco)) #3 /
   home/*****/refuel.mediaholic.co.za/wp-content/plugins/woolentor-addons/includes/
   helper-function.php(446): WC_Product->is_in_stock() #4 /home/*****/refuel.mediaholic.
   co.za/wp-content/plugins/woolentor-addons/includes/addons/universal_product.php(
   2497): woolentor_sale_flash() #5 /home/*****/refuel.mediaholic.co.za/wp-content/
   plugins/elementor/includes/base/controls-stack.php(18 in /home/*****/refuel.mediaholic.
   co.za/wp-content/plugins/woo-combo-offers/woo-combo-offers.php on line 618`
 * In this instance, if I deactivate Essential Elements the theme is still broken.
   If I deactivate Woolentor it works.
 *  Plugin Author [Vidish](https://wordpress.org/support/users/vidishp/)
 * (@vidishp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14618489)
 * [@donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/) 
   Sorry, my bad. I have released 2.1.7 version and it should work for you. Can 
   you please check and confirm?
 * Thanks!
    Vidish
 *  Thread Starter [donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/)
 * (@donovanmediaholic)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14631654)
 * Brilliant! All sorted on both sites.
 *  Plugin Author [Vidish](https://wordpress.org/support/users/vidishp/)
 * (@vidishp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14632261)
 * [@donovanmediaholic](https://wordpress.org/support/users/donovanmediaholic/) 
   Great to know! If you like plugin and support, it would be great if you can share
   a great feedback!
 * Thanks,
    Vidish

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

The topic ‘Breaking theme’ is closed to new replies.

 * ![](https://ps.w.org/woo-combo-offers/assets/icon-128x128.png?rev=3344715)
 * [Combo Offers WooCommerce](https://wordpress.org/plugins/woo-combo-offers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-combo-offers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-combo-offers/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-combo-offers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-combo-offers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-combo-offers/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Vidish](https://wordpress.org/support/users/vidishp/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/breaking-theme-2/#post-14632261)
 * Status: resolved