Error in SQL Syntax

Hello All,

Our Version 5.1.56

Any suggestions for discovering the culprit originating this recurring error?

15-Jan-2012 20:08:19] 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 for query SELECT COUNT(DISTINCT ID) FROM made by require, require_once, include, get_footer, locate_template, load_template, require_once, sf_pagenavi

[15-Jan-2012 21:18:33] 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 for query SELECT COUNT(DISTINCT ID) FROM made by require, require_once, include, get_footer, locate_template, load_template, require_once, sf_pagenavi

Phil D

  • Timothy Bowers
    • Chief Pigeon

    Hey Phil

    Our Version 5.1.56

    What version/plugin does this relate to?

    Are these the complete errors from your servers Error logs?

    If not, can you get them.

    You can disable all your plugins, then test again and see if the error is generated. If not then re-enable each plugin one by one until the issue comes up again. You will then have found your culprit.

    You could also use the default "Twenty Eleven" theme, to ensure it is not a theme issue.

    Let us know how you get on. :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.