WordPress.org

Ready to get started?Download WordPress

Forums

Comments: WordPress database error (5 posts)

  1. brianpurkiss
    Member
    Posted 6 years ago #

    Right now, I have two blogs: plainbeta and brian.purkiss:blog. (I just recently started the second one)

    I just recently started getting an error on my single post pages and on the sidebar with the comments.

    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 'select comment_author_email from wp_comments where comment_ID =]
    select count(*) as comments from wp_comments where comment_author_email = (select comment_author_email from wp_comments where comment_ID = 176)

    I have had <u>plainbeta</u> for a while, and have never had this problem before.
    I am operating with the latest version of WordPress, using 1and1.com hosting, and running MySQL 4.0.
    Furthermore, my theme is a well designed theme by Small Potato of WPdesigner.com - so I doubt it's the theme.

    Does anyone know what's going on?

  2. moshu
    Member
    Posted 6 years ago #

    Whatever you are using to display the recent comments... it's either not compatible with your WP version or has a faulty code.

  3. brianpurkiss
    Member
    Posted 6 years ago #

    Ok!
    ...
    Do you have any idea how I could fix that?

  4. moshu
    Member
    Posted 6 years ago #

    No, because I don't know your versions and I don't know what are you using to display the recent comments...
    If you don't provide details why are you expecting any meaningful answer?

  5. brianpurkiss
    Member
    Posted 6 years ago #

    I don't provide details because I don't know what the details entail.
    I don't know much about WP themes - that's why I'm here.

    If you want more details, let me know what you want and I'll be more than happy to share them with you!

Topic Closed

This topic has been closed to new replies.

About this Topic