WordPress.org

Ready to get started?Download WordPress

Forums

Write POst Database error (2 posts)

  1. spiderglow
    Member
    Posted 8 years ago #

    Thanks for your time and concern.

    Please help, on my site http://www.spiderglow.com

    I have the foolowing error on the write post page of the Dashboard

    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 'AND comment_approved = '1'' at line 1]
    SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = '1';
    Regalanos un comentario Edit This

    GeneralDigg this storyAdd to Del.icio.us

    What should I do to correct it???

    Thanks for your time and concern.

  2. webgrrl
    Member
    Posted 8 years ago #

    hey i got the same problem right now.. did u fix it? heelp!

    mine 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 'AND comment_approved = '1'' at line 1]
    SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = '1';
    ###############

Topic Closed

This topic has been closed to new replies.

About this Topic