Forums

Unknown column error after upgrading (3 posts)

  1. pjluy
    Member
    Posted 5 years ago #

    Hello,

    After upgrading to 2.1.3 from 1.5.1, I have this error on my blog:

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

    I know that it is not from the plugins. I'm not sure how to get rid of it.

    Please see http://pjlguy.webservant.us/blog

    Thanks much,
    Peter

  2. MichaelH
    Volunteer
    Posted 5 years ago #

    You may not have all the 2.1.3 files uploaded. The 'user_level' field no longer exists in the wp_user table.

    You might want to review Upgrading WordPress.

  3. aarondiers
    Member
    Posted 4 years ago #

    I'm seeing this same error, and I have version 2.3.2 installed (upgraded from 2.3.1). Line 172 of wp-includes/user.php still contains a reference to the user_level column, and it's the latest version of the file!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags