How To Fix WordPress 2.6 Missing Categories

A friend of mine got a problem with his newly upgrade WordPress (2.6.2) that is missing categories. The problem occured randomly. If the categories showed correctly and then he clicked it, there was no post assosiated (404 Not Found).

Thanks to Google. There are so many people faced the same problem and they have solutions also. Funponsel.com gave a quick solution to fix the problem.

You just need to run this query:

UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id

You may also check other solutions if the solution above is not working.

4 thoughts on “How To Fix WordPress 2.6 Missing Categories

  1. So where to run this code:
    UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id

    thanks for helping mas brow!

  2. I had the same problem on one of my blogs. Some servers are just funny. I down-graded to a previous version and upgraded again – the problem was gone. It is cool to know that there is a more nerdy solution to this :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>