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

  1. sithicus
    Posted 10 years ago #

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


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

    any thoughts..?

  2. moshu
    Posted 10 years ago #

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

  3. ringmaster
    Posted 10 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:

    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
    Posted 10 years ago #

    What if I hav ethree authors..?

  5. sithicus
    Posted 10 years ago #

    Nevermind Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.