WordPress.org

Ready to get started?Download WordPress

Forums

MySQL error suddenly (2 posts)

  1. rodneykm
    Member
    Posted 6 years ago #

    My site is http://www.4rkm.com.

    When you click on any post for more information, you get an error message similar to the following.

    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 'ORDER BY post_date DESC' at line 1]
    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND ID = 203 AND (post_type = 'post') AND ((wp_catt_visibility.archives=1 AND wp_catt_visibility.cv_user_level<='10') OR post_type='page' OR wp_catt_visibility.catt_ID IS NULL ORDER BY post_date DESC

    I've only recently noticed this. Anyone have idea on what could possibly be wrong?

  2. jackiedobson
    Member
    Posted 6 years ago #

    wp_catt_visibility.archives - I believe that's coming from a plugin. Can you try turning off whatever plugin this is? Have you recently upgraded? Whatever plugin is causing this error may not work with later version of wordpress and you may have to remove it or check to see if it's been upgraded.

Topic Closed

This topic has been closed to new replies.

About this Topic