The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Custom Post Type Weirdness After 3.1 Upgrade (4 posts)

  1. jonathanwthomas
    Posted 5 years ago #

    Since I upgraded to WP 3.1 I've had some weirdness happening on my main website that needs to be fixed as soon as possible. http://anglotopia.net

    Some of my custom post types stopped working. If you try to go to the page you get a 404 error. If you try to go edit a custom post type - you can't edit it - the only option is to view.

    It gets stranger when I add a new one and it works fine. I very much need the old posts to work - I have thousands of posts in custom post types and I can't manually re-add them all.

    Here's a list of what I've tried already:

    Flushed permalinks repeatedly
    Deactivated all plugins
    Switched to default theme
    Checked all settings using Custom Post UI

    I've also done a combination of these things over and over and nothing seems to get the posts I've already entered working again.

    Any ideas?

  2. chocks
    Posted 5 years ago #

    Same here! What's going on? Any clue?

  3. chocks
    Posted 5 years ago #

    I sort it out registering another post type, and converting them..

  4. astrotim
    Posted 5 years ago #

    I had a site with custom post types go pear-shaped following an upgrade to version 3.1 today. The permalinks were not working in the front end and I got an error stating "invalid Post Type" in the back end. I could not edit any of the custom posts either, only view them. It was a mess!

    I fixed the problem by changing the post_type value to all lowercase and adding flush_rewrite_rules function to the register_post_type function. See my invalid post type article for more details.


Topic Closed

This topic has been closed to new replies.

About this Topic