• I’ve searched around and couldn’t find anyone with this same problem, so apologies in advance if this is a dupe.

    I recently upgraded to 2.0.4 (svn sw https://svn.automattic.com/wordpress/tags/2.0.4).

    Someone emailed me noting that my Pages (not posts) were coming back as 404s. I confirmed that my pages are in fact missing (example).

    The URL for a page gives a WordPress 404 and looking under Manage: Pages in the admin panel shows “No pages yet.”

    I dumped the SQL for my WP install and confirmed that my pages are still in the database. All information in the DB related to the pages looks correct.

    My only two active plugins are Akismet and Google Sitemaps by Arne Brachhold. Deactivating the latter didn’t make a difference (the pages are still missing).

    Has anyone else encountered this problem or know of a fix? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • This user has a similar issue – though not with an upgrade, just a move, and only certain Pages.

    Almost like a mystery…

    Thread Starter h3h

    (@h3h)

    It’s strange that other people are reporting “some” pages missing. All of my pages are missing. I wonder if there’s some property that’s causing them to disappear from view…

    Any info or additional bug reports would be helpful.

    This is something new – I don’t remember anything like this in past posts.
    Hopefully, some coder gurus will figure it out. In the meantime the only thing I’d check in the DB is the “status” field of these Pages. For a Page it should be ‘static’. I can’t think of anything else… sorry.

    Thread Starter h3h

    (@h3h)

    Apparently that was the problem, moshu.

    All of my pages had post_status = ‘publish’ instead of ‘static’.

    I ran the following SQL query inside of the mysql interactive client to fix everything up:

    update wp_posts set post_status = 'static' where post_type = 'page';

    Note of course that I didn’t have any non-public pages — someone who has private or draft pages should take care to change the above query accordingly.

    It probably is worth finding out why the post_status of these pages was changed as a result of the update to 2.0.4.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pages Missing After 2.0.4 Upgrade’ is closed to new replies.