WordPress.org

Support

Support » How-To and Troubleshooting » Unknown column ‘cat_’ in ‘order clause’

Unknown column ‘cat_’ in ‘order clause’

  • I upgraded my blog and now I am getting this error in my Sidebar.

    WordPress database error: [Unknown column ‘cat_’ in ‘order clause’]
    SELECT * FROM wp_categories WHERE cat_ID > 0 AND link_count > 0 ORDER BY cat_ ASC

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • whooami

    @whooami

    Member

    thats an incompatibility introduced by the upgrade, and without knowing what is supposed to be there, no-one can tell you whether or not its in the theme or in a plugin.

    What is normally displayed in that spot?

    My wife’s blogroll.

    Blog: http://www.blog.mrsbillustrations.com/

    Theme: fSpring, design by Fredrik Fahlstad

    Any help would be greatly appreciated.

    Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Look at the code in the theme that creates that Blogroll, and change it to use the newer, correct code (which is probably some form of wp_list_bookmarks).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unknown column ‘cat_’ in ‘order clause’’ is closed to new replies.