Support » Plugin: WP to Twitter » [Plugin: WP to Twitter] Plugin Disappears After Upgrade

  • Resolved MomDad


    I’m not sure how or why, but this has now happened twice in a row. The first time I thought it was a flue when it disappeared when upgrading from 2.4.5 to 2.4.6. I went to check the settings and noticed it wasn’t listed, then checked installed plugins, and nada — WP to Twitter was absent. The plugin dir itself still existed, but was empty, except for the js dir. I manually uploaded 2.4.6 and didn’t give it a second though.

    Today, I did the automatic upgrade to 2.4.7, and the same thing happened — WP to Twitter was gone again, this time only leaving the js with “jquery.charcount.js” inside. Regrettably, I didn’t pay close attention to the post-upgrade output to see if it noted anything, however there’s nothing unusual in my setup compared to the last several times I (successfully) updated WP to Twitter.

    If it helps you, I’ll downgrade to 2.4.6 and re-attempt upgrade and this time note the output (assuming there’s no major risk in doing so).


    Err, scratch that idea — I already overwrote my local zip copy of 2.4.6 with the new 2.4.7, so I no longer have a copy of 2.4.6 to downgrade to.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Joe Dolson


    Does this happen with any other plug-ins?

    I’m not even certain that there’s anything I *could* do which would cause an upgrade problem like this from within the plug-in; which suggests that this is a general problem with upgrading. However, if it only happens with this plug-in, then that’s…well, pretty strange, but possibly worth investigating.

    It has only happened with WP to Twitter. I’ve gone through a multitude of other plugin updates between the last time it happened and this time, and all those worked without a hitch. I can’t say with any certainty that it’s not a conflict with another plugin, but that in itself would be a bit strange too to have a conflict like that during the upgrade process.

    Since I no longer have a copy of 2.4.6, I’ll manually edit the plugin version in the db and the plugin files and force it to prompt again for upgrade. I’ll enable logging and see what, if anything, it spits out this time during the process.

    Plugin Author Joe Dolson


    Definitely let me know. That’s a pretty odd occurrence – not one which has ever been reported to me. Please do send a support request via the built-in support form; that could be very useful to me.

    Ok, I’ve just gone through the process 3 times, each time manually editing the db and plugin files to mask it as 2.4.6 and prompt for upgrade to 2.4.7. Apache error logging with LogLevel set to “warn” catches nothing out of the ordinary during the upgrade process. In WP admin, the upgrade output is as follows:

    Downloading update from…
    Unpacking the update…
    Installing the latest version…
    Removing the old version of the plugin…
    Could not remove the old plugin.
    Plugin update failed.
    Return to Plugins page

    After each of the 3 run-throughs, the only file left in the directory is wp-to-twitter/js/jquery.charcount.js

    Is it possible that the cleanup/removal routine of the old version is not actually removing the .js file and the js sub-dir as intended, and thus can’t delete the main wp-to-twitter plugin dir?

    For certain privacy/anonymity reasons, I’d prefer not to submit a support request as-is, but I’ll gladly send you an anonymized copy of it if you can provide me with an email address to send it to.

    Plugin Author Joe Dolson


    Submit a contact through my website contact form: I’ll respond to you so you’ll have an email to send it to.

    It looks to me like a server issue that’s only affecting WP to Twitter – specifically, that either the files or the directory that’s left behind is not getting deleted, which may be due to permissions issues. Check the file permissions on that directory and file and see if there’s an issue with them.

    Gosh, that’s embarrassing. My apologies for the false alarm, Joe — that was indeed the reason why.

    Before upgrading to 2.4.5, I had moved the existing wp-to-twitter dir elsewhere as a backup, manually uploaded 2.4.5, and neglected to change its ownership.

    Thanks for the rescue!

    Plugin Author Joe Dolson


    Glad to know it! Always happy to know that I don’t have to fix something. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP to Twitter] Plugin Disappears After Upgrade’ is closed to new replies.