WordPress.org

Ready to get started?Download WordPress

Forums

MySQL error - what's happened! (1 post)

  1. chichi
    Member
    Posted 8 years ago #

    I recently started getting this message on my WordPress site: http://216.118.118.61

    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 DISTINCT(post_id) FROM wp_post2cat WHERE category_id=

    I'd been cleaning out unused posts, pages and categories. Could this have caused the problem?

    In searching the forum I see that there was once a problem when hosts upgrated PHP but didn't upgrade Zend. I don't think that's my problem. My PHP version is 4.3.11 and Zend Opt is 2.5.10.

    Help anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags