WordPress.org

Forums

Database Error: Unknown column 'user_level' in 'where clause'... (3 posts)

  1. ragnarfreyr
    Member
    Posted 9 years ago #

    Hi there

    I just upgraded to WordPress 2.0 and get this error on top of every post:

    ----------------------------------------------------------

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

    ----------------------------------------------------------

    You can see it in action at: http://www.onrushdesign.com/blog

    Any of you know what I can do to fix this?

    Thanks in advance,

    Ragnar Freyr

  2. ragnarfreyr
    Member
    Posted 9 years ago #

    Ok I just removed the two user_level lines from thelopp.php and it worked. Not sure if it was the absolute right thing to do but got the answer from:

    http://wordpress.org/support/topic/50875?replies=7

    If any of you know a better solution please let me know.

    Thanks,

  3. MichaelH
    Member
    Posted 9 years ago #

    Sounds like a Plugin not ready for 2.0. Try deactivating Plugins and see if that goes away.

    [edit] thanks for letting us know the solution!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags