Fatal error: Uncaught Error: Call to a member function is_in_stock() on null in /var/www/html/wp-content/themes/oceanwp/functions.php:1222 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(305): cw_change_product_price_display() #1 /var/www/html/wp-includes/plugin.php(189): WP_Hook->apply_filters() #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php(170): apply_filters() #3 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php(443): WC_Product_Variable->get_price_html() #4 [internal function]: Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema->get_item_response() #5 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php(93): array_map() #6 /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(85): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render() #7 /var/www/html/wp-includes/class-w in /var/www/html/wp-content/themes/oceanwp/functions.php on line 1222