Fatal error: Uncaught Error: Call to a member function is_type() on null in /home/myerot5/public_html/wp-content/themes/MyEroticParty/functions.php:532 Stack trace: #0 /home/myerot5/public_html/wp-includes/class-wp-hook.php(286): default_no_quantities(false, Object(WC_Product_Simple)) #1 /home/myerot5/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(false, Array) #2 /home/myerot5/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1469): apply_filters('woocommerce_is_...', false, Object(WC_Product_Simple)) #3 /home/myerot5/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1036): WC_Product->is_sold_individually() #4 /home/myerot5/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(778): WC_Cart->add_to_cart(141, 1) #5 /home/myerot5/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(750): WC_Form_Handler::add_to_cart_handler_simple(141) #6 /home/myerot5/public_html/wp-includes/class-wp-hook.php(286): WC in /home/myerot5/public_html/wp-content/themes/MyEroticParty/functions.php on line 532