Pages Converted to Posts (3 posts)

  1. ComputerGuru
    Posted 9 years ago #

    I grabbed a SVN (I KNOW the risiks, but I used to upgrade nightly anyway), found the latest to be too buggy, reverted.
    Now the problem is.....
    In between I upgraded my db, and I reverted and had to upgrade my db again.
    I went back to the svn soon as it had somechanges, its running fine, except that after upgrading the SQL again, my pages were converted to posts!


  2. MattRead
    Posted 9 years ago #

    if you can get a list of the ID's of the pages, you can do a sql query to change the post_type back to page ... if you can/want to take the time to find them all, we could come with some code for you.

    OR if you have a backup of the DB before you got the svn, restore it then run upgrade on that ...

    Matt Read

  3. ComputerGuru
    Posted 9 years ago #

    Thank you Matt.
    There were only 3 pages, so I modified the SQL by hand.

Topic Closed

This topic has been closed to new replies.

About this Topic