WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 'You have an error in your SQL syntax' (2 posts)

  1. Jordan
    Member
    Posted 8 years ago #

    WP version I'm currently running: 1.5.1.3

    I just recently deleted about eight categories, and left one main one available. However, upon viewing the site (atourworst.org) I receive an error:

    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 '' at line 1]
    SELECT DISTINCT(post_id) FROM wp_post2cat WHERE category_id=

    I'm basically clueless as far as how to go about troubleshooting the issue. Is there a way to fix the error?

  2. Jordan
    Member
    Posted 8 years ago #

    I'm still looking for any kind of help with this! :)

Topic Closed

This topic has been closed to new replies.

About this Topic