• I just got a WordPress database error that reads:

    “[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 category_nicename FROM wp_categories WHERE cat_ID=”

    The error is showing under all my posts and other random places. It also shows in the manage posts area on the admin page. My blog is located at http://www.zachkarst.com/wp. I am running WordPress version 1.5.1. All help will be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m looking around. First thought is that you are missing brackets
    and maybe data in the brackets after wp_categories. Something like
    wp_categories[] or wp_categories[1,2,3] where the ‘1,2,3’ would be
    whatever your options are.

    If I find anything I’ll let you know.

    Laura

    Thread Starter macguy22

    (@macguy22)

    I fixed the problem by re-installing my Blog.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Database Error’ is closed to new replies.