Please help me to fix this WordPress database error:

Discussion in 'WordPress' started by manov, Apr 24, 2007.

  1. #1
    Hello Wordpress Gurus!

    Please visit my website http://reviewboss.com ... I'm getting following database error just above footerline.

    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 COUNT(ID) FROM
    Code (markup):
    I'm getting this error after I've upgraded to ver 2.1.1 of wordpress
    SQL version v4.1.21-standard

    Can someone please help me to ix this bug... ofcourse, I'm willing to pay reasonable fee! :)

    Thanks
     
    manov, Apr 24, 2007 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    could be the template/theme is using a deprecated piece of code.
    could also be a plugin that is no longer compatible or requires an upgrade
     
    just-4-teens, Apr 24, 2007 IP
  3. Anita

    Anita Peon

    Messages:
    1,142
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'd suggest trying this on a local computer using the same SQL/WP combo, then changing your theme to see if the error persists. This was always how I'd determine if it was a theme problem or a WP issue.
     
    Anita, Apr 24, 2007 IP