WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] ‘You have an error in your SQL syntax’

[Resolved] ‘You have an error in your SQL syntax’

  • 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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] ‘You have an error in your SQL syntax’’ is closed to new replies.