Fatal error : Uncaught Error: Call to a member function is_in_stock() on string in /home/mlboxstaging/public_html/wp-content/themes/mylabbox-2020/includes/woocommerce.php on line 350
Call stack:
mylabbox_show_availability_for_simple_product()
wp-includes/class-wp-hook.php:312 WP_Hook::apply_filters()
wp-includes/plugin.php:205 apply_filters()
wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:1884 WC_Product::get_price_html()
wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:396 WC_Product_Variable::get_available_variation()
wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:326 WC_Product_Variable::get_available_variations()
wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:902 WC_Stripe_Payment_Request::should_show_payment_request_button()
wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:757 WC_Stripe_Payment_Request::scripts()
wp-includes/class-wp-hook.php:310 WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334 WP_Hook::do_action()
wp-includes/plugin.php:517 do_action()
wp-includes/script-loader.php:2225 wp_enqueue_scripts()
wp-includes/class-wp-hook.php:310 WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:334 WP_Hook::do_action()
wp-includes/plugin.php:517 do_action()
wp-includes/general-template.php:3053 wp_head()
wp-content/themes/mylabbox-2020/header.php:12 require_once()
wp-includes/template.php:785 load_template()
wp-includes/template.php:720 locate_template()
wp-includes/general-template.php:48 get_header()
wp-content/themes/mylabbox-2020/woocommerce/single-product.php:22 include()
wp-includes/template-loader.php:106 require_once()
wp-blog-header.php:19 require()
index.php:17