Upgrade to 4.0 and single-{Post_Type}.php get 404 Error
-
I’ve upgraded a couple of my sites from 3.9.2 to 4.0 with no problem.
However, one site uses Custom Post Types to collate the information being displayed. Projects are configured as a custom post type cpt_project. When selecting a “Project”, single-cpt_project.php is called to display the project data.
After upgrading to 4.0, all projects generated a 404 Error. The single-cpt_project was not being called. The $post information coming into the 404.php file was that of the Sample Page, post_id 2 I think, that I never deleted.
Since the client is currently reviewing the site, I quickly reverted back to the backup and everything works once again.
Anyone else have this problem, or know what might be wrong?
- The topic ‘Upgrade to 4.0 and single-{Post_Type}.php get 404 Error’ is closed to new replies.