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

  1. ragnarfreyr
    Posted 10 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
    Posted 10 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:


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


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