Custom press links not working after 4.5 upgrade

I upgraded to wp 4.5 and the product pages which are created using custom press dont work anymore, it redirects to the home page when I clic on any of them.

I have also lost the content types, its as if everything is gone.

Any of these plastics is a custom type and should have its own page.

Any help how to fix this.