WordPress.org

Forums

WordPress database error (4 posts)

  1. fun4uoc
    Member
    Posted 9 years ago #

    I am using the current versions of wordpress and feedwordpress. Feedwordpress seems to be working properly, however, I am getting the following WordPress database error at the bottom of my site.

    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(DISTINCT ID) FROM

    It does not really appear to be affecting anything, I just hate like hell seeing this at the bottom of every page. When I delete the posts the page appears normal again. Any idea's?

  2. fun4uoc
    Member
    Posted 9 years ago #

    bump

  3. Chris_K
    Member
    Posted 9 years ago #

    So when you examine your theme files (presumably your footer.php), do you see any functions being called around the place you get that error?

    What other plugins are you running? Any of them add their own statistics to the footer? (Spam Karma 2 and Bad Behavior, for example, have options to do that).

  4. fun4uoc
    Member
    Posted 9 years ago #

    No, not seeing any problems there. I also tried disabling all plugins but still have the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic