WordPress Database Error (3 posts)

  1. MacGuy22
    Posted 10 years ago #

    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.

  2. lmcgaffey
    Posted 10 years ago #

    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.


  3. MacGuy22
    Posted 10 years ago #

    I fixed the problem by re-installing my Blog.

Topic Closed

This topic has been closed to new replies.

About this Topic