SQL Syntax error message (6 posts)

  1. PLJ
    Posted 9 years ago #


    Why am I getting this 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]

    It is written in the right sidebar of my site. See http://www.concrit.org

    Any help would be greatly appreciated.

  2. moshu
    Posted 9 years ago #

    What did you do before it stopped working?
    If you did an upgrade - read about non-compatible themes and template tags.
    Check out and replace the deprecated tags.

  3. PLJ
    Posted 9 years ago #

    Thanks, that what I did... updated to 2.2. I will do a roll back.

  4. moshu
    Posted 9 years ago #

    No, don't roll back - that's always a bad choice.
    Read and follow the instructions!

  5. drmike
    Posted 9 years ago #

    A roll back is not the correct response to this error. Updating your theme and fixing the incorrect template tag is.

  6. kalico
    Posted 9 years ago #

    Is a roll back ever the right option? I started a new site on 2.2 but lots of standard plugins I have used before don't play nice together anymore. I am beginning to think it would be easier to just start over, using 2.1 again. But would the db be compatible? Or would I have to recreate all my posts? There are only a few....so it wouldn't be too bad I suppose... any thoughts or suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic