[resolved] An error (4 posts)

  1. BioTecK
    Posted 7 years ago #


    I have downloaded and upgraded this nice plugin.. but then i got this error when i wanted to test it..

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) ) AND (c.category_id NOT IN ( )) ORDER BY post_date DESC LIMIT 0, 20' at line 1]
    SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_comments ON ( comment_post_ID = ID ) LEFT JOIN wp_post2cat AS c ON wp_posts.ID = c.post_id WHERE 1=1 AND ( ( (((post_title LIKE '%wektek%') OR (post_content LIKE '%wektek%'))) AND (post_status = 'publish' OR post_status = 'private') OR (comment_content LIKE '%wektek%') ) AND (ID NOT IN ( )) ) AND (c.category_id NOT IN ( )) ORDER BY post_date DESC LIMIT 0, 20

    Can you help me out please??

  2. Dan Cameron
    Posted 7 years ago #

    What version of WordPress are you using?

    If you're using the category exclusion option WordPress 2.3 is not supported yet.

  3. Jeremy Clark
    Posted 7 years ago #

    Have a look at this thread. It's because your theme isn't compatible with 2.3

  4. BioTecK
    Posted 7 years ago #

    Thnx for the tip jeremyclark13!! :D

    It had something to do with Google Sitemaps Generator plugin cause after updating it, the problem was solved!!

    Anyway, thnx Dancameron and jeremyclark13!! :D

Topic Closed

This topic has been closed to new replies.

About this Topic