Support » Alpha/Beta/RC » Plugin Upgrade Failure

  • Resolved joncomputing


    On a test site running WordPress 3.4-RC2-21036, I updated my own plugin (which is in the repository) to the latest version and it generated a fatal error to the effect that it could not find the main .php file. Doing the same plugin update on WordPress 3.3.2 works perfectly.

    Unfortunately, I thought it was my plugin at fault so did not capture the exact error message, and I don’t know how to reproduce the problem.

    Here is my best summary of what is wrong with 3.4RC2: automatic update of a plugin where the main .php file has been renamed from one plugin version to the next, will generate a fatal error on activation.

    Workaround: uninstall and reinstall the plugin.

    Plugin in question:
    Upgrade from 1.0 to 1.1 corrects the name to jonradio-display-kitchen-sink/jonradio-display-kitchen-sink.php from jonradio-display-kitchen-sink/jonradio-kitchen-sink.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can reproduce that probably by installing the old version and then the new, but I’m willing to bet that’d happen on any version of WP.

    Don’t rename the main plugin file unless you have to 😉

    Excuse my ignorance, but I’m not aware of any way to install an old version from the plugin repository. I have, however, made several attempts to load the previous version of the plugin via FTP from my own backups, and then let it update automatically. They all work, with both beta and the current production version of WordPress.

    My best guess is that this was a plugin repository issue, i.e. – for a short period after I’d updated the repository with my new version.

    As a result, I’m closing the issue.

    Normally people use tags to mark a completed version, and that makes it very easy to get the older versions.

    If you make a tag folder for each version, then revision and integration testing is much easier 🙂

    Thank you for that info!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin Upgrade Failure’ is closed to new replies.