There must be some plugin or something in the theme with extra space in the code, which is what causes this particular error quite a bit.
Can you try disabling other plugins to see if the problem goes away? Then re-enable them one at a time until you find the culprit?
Thanks for the quick reply! Unfortunately it is still not working even with all plugins disabled except for woocommerce and your plugin.
The only other thing might be the theme then. Can you try one of the basic “twenty” themes?
Just trying to figure out what’s unique with your setup because I have not had this complaint from anybody else.
Yeah I’m having other issues with the site today as well such as you add an item to cart and then go to the cart page and it says the cart is empty. Something must have really gotten screwed up
SO I activated the mystile parent theme instead of the child (which I was using)and everything works perfectly which means there is no plugin conflict. Do you know how I could best troubleshoot the child theme? I really would like all my personal customizations back.
One of the pages in your child theme must have some extra white space between some lines.
Take a look at the answer here for details on the problem and how to troubleshoot it.
Fixed it, there was an empty line after the closing tag in my child’s functions.php
That’ll do it. Glad you got it worked out!