Support » Fixing WordPress » ‘You have an error in your SQL syntax’

  • Resolved Jordan

    (@jordanriane)


    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 ‘‘You have an error in your SQL syntax’’ is closed to new replies.