Set hierarchical post type support to false to fix an strange error on a website.