Wordpress problem. Please help

Discussion in 'WordPress' started by Nima, Oct 13, 2007.

  1. #1
    I'm getting this error when I try to edit a post on my blog:

    
    
    
    
    WordPress database error: [Table 'nima_fixcredit.wp_post2cat' doesn't exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_posts` p LEFT JOIN `wp_post2cat` pc ON p.ID = pc.post_id LEFT JOIN `wp_categories` c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
    
    
    Code (markup):
    Does anyone know why?

    Thanks
     
    Nima, Oct 13, 2007 IP
  2. sat123

    sat123 Banned

    Messages:
    1,600
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #2
    perhaps it's wordpress 2.3...no such tables exists in 2.3 so change the code for template..or get template coded for 2.3
     
    sat123, Oct 13, 2007 IP
  3. Swiftblade

    Swiftblade Peon

    Messages:
    106
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It might also be one of your plugins. If you use the google sitemap plugin make sure its version 3.0 or higher.
     
    Swiftblade, Oct 13, 2007 IP