• After 2.1 install, I am seeing this in my sidebar [Kubrick] in one specific area. The rest of the site looks fine.

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

    I’m not sure what this means.

    Thanks.

    -ptfigg.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pfigg

    (@pfigg)

    I removed a snippet of code in the sidebar template that made reference to ‘get_links’ and the error vanished …

    -ptfigg.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Somewhere in your sidebar, something is making a call to get_links_list or similar in an incorrect fashion.

    To sort it out, you’ll have to be more specific. What section of the sidebar is doing this? What’s the code that’s in that piece?

    Having the same problem here. If I remove the code that refers to links, however, then I have no links/blogroll at all in my sidebar.

    Here is the piece of code in my sidebar that is causing the problem, if anyone wants to advise…

    <div class="menuItem">
    	<ul>
    	<?php get_links_list('-1', '<li>', '</li>', ' '); ?></li>
    </ul>
    </div>

    Change this
    php get_links_list

    to this

    php wp_list_bookmarks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message in sidebar after 2.1 upgrade’ is closed to new replies.