WordPress.org

Forums

Motor Racing League
[resolved] missing columns/tables (3 posts)

  1. lauhakari
    Member
    Posted 2 years ago #

    Hey

    So updated to the new 1.9 version today, from 1.7 I think, and a lot of data has gone missing and tables are missing columns which I assume where added in 1.8 - the rain, SC stuff and so on.

    Is there some db-install script missing or did I miss something?
    There was no note that something should be done before upgrading...

    http://wordpress.org/extend/plugins/motor-racing-league/

  2. lauhakari
    Member
    Posted 2 years ago #

    Okay, this got solved.

    If any of you run in to this problem when updating just deactivate the plugin and then activate it again.

    Seems like it runs the table-installer when you activate it, no data was lost (but do a backup of the tables just in case)!

  3. ianhaycox
    Member
    Plugin Author

    Posted 2 years ago #

    Glad it's sorted.

    When WordPress upgrades a plugin, it is meant to deactivate, update the files, then re-activate, but often it fails to perform the deactivate/reactivate.

    This seems to happen more often with a bulk update.

    See http://core.trac.wordpress.org/ticket/17833

    As you guessed, deactivating/reactivating adds the new database columns and sorts the issue out.

    Ian.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Motor Racing League
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.