Fatal error: Uncaught Error: Call to a member function get_id() on null in /home/eas10379/public_html/wp-content/themes/x-child/functions.php:84
Stack trace:
#0 /home/eas10379/public_html/wp-includes/class-wp-hook.php(324): filter_is_purchasable(true, NULL)
#1 /home/eas10379/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#2 /home/eas10379/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1624): apply_filters('woocommerce_is_...', true, Object(WC_Product_Simple))
#3 /home/eas10379/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1176): WC_Product->is_purchasable()
#4 /home/eas10379/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(834): WC_Cart->add_to_cart(1547, 1)
#5 /home/eas10379/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(806): WC_Form_Handler::add_to_cart_handler_simple(1547)
#6 /home/eas10379/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_a in /home/eas10379/public_html/wp-content/themes/x-child/functions.php on line 84
WordPress › Error