WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error.. after upgrade.. (5 posts)

  1. sithicus
    Member
    Posted 8 years ago #

    Well I upgraded.. (my default theme didn't work so i installed k2, i'm geting an error now..

    http://www.chrisvschris.com

    WordPress database error: [Unknown column 'user_level' in 'where clause']
    SELECT COUNT(*) FROM wp_users WHERE user_level > 1

    any thoughts..?

  2. moshu
    Member
    Posted 8 years ago #

    Sorry, we do not support K2 here. The official support for K2 is here: http://flickr.com/groups/binarybonsai/

  3. ringmaster
    Member
    Posted 8 years ago #

    k2 is the culprit here. It is attempting to query on a field that does not exist in the WordPress 2.0 schema.

    The fix is quite easy.

    Open theloop.php in a text editor, and make these two changes:

    Line 75:
    Published by <?php the_author_posts_link(); ?>

    Line 108:
    Published by <?php the_author_posts_link(); ?>

    If you only have one author (that's what the original line tries to detect), then you can simply change both lines to:
    Published

    That should remove the error and get the theme working mostly as expected.

    There is not a simple query that can easily replace the one that is used.

  4. sithicus
    Member
    Posted 8 years ago #

    What if I hav ethree authors..?

  5. sithicus
    Member
    Posted 8 years ago #

    Nevermind Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.