This usually happens because you have a content widget on your page that does not have a category selected.  Please look at the page content for your page and make sure all your content widgets have a category selected, then try to view the page or style again.