WordPress.org

Support

Support » Alpha/Beta » [Resolved] [2.0 RC1 Bug?] WordPress database error

[Resolved] [2.0 RC1 Bug?] WordPress database error

  • I get this error plus the calendar does not show up the correct month..

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m not sure about this, but as I upgraded to 2.0 RC1 a few hours ago, I had a look into it. The database field user_level is no longer available in 2.0.

    Maybe you are using a theme that is adressing the database directly … if you are using a special theme, try the standard theme coming with 2.0 RC1 and see if the error still occurs.

    You were right. I changed the theme and that error disappeared. I wonder where I should look for ‘user_level’?

    It might be best to look into The Main Index Template (index.php) [Themes – Theme Editor – Main Index Template]. It looks like it’s right between the post’s headline the_title() and the post’s text the_content() …

    Hope it helped …

    I found that in theloop.php Thanks!

    Hi!

    I’ve just updated to the “stable build” of WP 2.0 and I’m getting this error as well on the K2 theme. Any ideas on a fix?

    ah, i seem to have found it. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [2.0 RC1 Bug?] WordPress database error’ is closed to new replies.