Support » Fixing WordPress » MySQL error suddenly

  • My site is

    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?

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘MySQL error suddenly’ is closed to new replies.