To fix this error, you need to go to: WooCommerce >> Settings >> Site Visibility: Choose Live
Last updated 10 months ago