Also been seeing this problem; my custom post type posts return a 404 when accessed by their URL. WP can see them to edit etc but clicking their view url gives a not found error.
1.0.1 & clicking save changes on permalinks page appears to fix so far, but obviously a little concerning when things vanish! (I had to do a database restore via WP-DBManager originally to work out what happened).
This 404 issue seems to be to do with the creation of automatic rewrite_slugs, or more accurately, the value that tells it to do so.
In the old values for instance for ‘rewrite’, it is 1 or 0, and the new ones want to be true or false, and the check to decide whether to do a rewrite_slug seems to fail?
Simply going in the backend and saving the options corrected it for us, ie. it puts a ‘true’ in the field instead of a ‘1’ so the get_disp_boolean() function can evaluate it correctly?
Hopefully this will help others experiencing this issue.
I installed 1.0.2 from 0.8.0 on WordPress 4.1. My post types were still in the admin but all post types (excluding default posts) were showing as 404. I reverted back to 0.8.0 and all post types are now showing.
While I’m probably never getting away from the need to flush rewrite rules, I’m hoping the other boolean based parts are fixed in 1.0.2.
m2ew, did you try the permalink refresh when you tried updating?
I am having the same problem — all the custom post types quit working and my client is panicking.
How do I do “the permalink refresh” as Michael suggests. Will that possibly bring back all the posts?
clamoreaux, just visit the permalinks settings page and hit save. That’ll flush them for you.
You can assure your client that they haven’t lost any actual content.
Hi Michael,
I’m having the same problem. I updated from 0.9.5 to 1.0.2, re-saved all my CPT and refreshed my permalinks but they aren’t working yet. Please, could you help me with some idea about what to do?
Vengador, could you give more detail in exactly how they’re not working still? URLs on the frontend 404ing? Not showing up in the WP Admin menu? Association to taxonomies broken?
You can revert back to 0.9.5 if necessary in the meantime, but I’d appreciate it if we continued debugging why it broke in the first place.
Hi Michael,
I have a copy of my dev site with all plugins updated. My main dev site has 0.9.5 version and it is working as expected. The problem is that I receive a 404 error in frontend (as you can see here). I have installed Bullet Proof Security too in my environment but I regenerated htaccess after update too.
Would you be willing to email me the content from the export tab for post types? I’m curious what settings and whatnot are currently saved for the new version of your saved options. Just copy/paste the contents from the right textarea and paste into the email.
michael @ webdevstudios.com
Vengador,
Would you be willing to help test a theory? All that you need to do is go through your post types, and save without touching anything, and see if they come back and the issue resolves itself.
Hi Michael,
You have a mail with a video. Your theory has failed 🙁