Support » Fixing WordPress » Giant commit of May 24th – db errors on upgrade

  • Beel

    (@beel)


    I suppose the errors I got on running the upgrade should be of no concern?
    Database error duplicate column name for show_images (description, rating, updated) and sort_order

Viewing 6 replies - 1 through 6 (of 6 total)
  • michelv

    (@michelv)

    Good call, thanks for notifying us.
    Fixed, committed. 🙂

    Anonymous

    Any news on this?

    Moderator Ryan Boren

    (@ryan)

    WordPress Dev

    Page navigation fixed.

    Beel

    (@beel)

    Shows how much I know, I guess it was of concern ;-). On another note, what do I need to do in order to get some of my older hacks to work again – for instance:
    function hack_get_stats($what) {
    global $wpdb;
    switch($what) {
    case ‘users’:
    global $tableusers;
    $request = $wpdb->get_var(“SELECT COUNT(*) FROM $tableusers WHERE user_level > 0”);
    break; …
    This now returns a “database error near user_level > 0”

    mikelu

    (@mikelu)

    replace $tablexxxx with $wpdb->xxxx
    xxxx are default tables that WP used, you can see a complete list in wp-settings.php.

    Beel

    (@beel)

    BOO YA! Touchdown! thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Giant commit of May 24th – db errors on upgrade’ is closed to new replies.