MySQL Query Error (2 posts)

  1. adame
    Posted 10 years ago #

    When running WordPress, I get the following 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=

    Any help would be appreciated!

  2. skippy
    Posted 10 years ago #

    What have you done? WordPress, by itself, ought never cause this error to be generated.

    Was WordPress working for you before at some point? What did you do between when it worked and when this error first appeared?

Topic Closed

This topic has been closed to new replies.

About this Topic