Wordpress 2.5で、プラグインの「upgrade automatically」が動かなかった理由は、「Wordpress Automatic Upgrade」プラグイン

weblog — Hidekichi @ 2008/4/21 月曜日

Wordpress Automatic Upgrade のアップデートをサボっていた私が一番悪いという結果に。

問題となったのは、Wordpress2.5で可能になった、プラグインのアップデートの自動化。プラグインのリストのところにアップデートが存在すると表示されているのだが、「upgrade automatically」のリンクをクリックしても、

Fatal error: Cannot redeclare class pclzip in /***/wp/wp-admin/includes/class-pclzip.php on line 162

などと表示され、プラグインのアップデートができないということ。

ネットで情報を探していると、「update type plugin」が悪さをしているという情報があったので、Wordpress Automatic Upgrade を無効化。

再度、アップデートがあることを表示されているプラグインの「upgrade automatically」をクリックして、アップデート

Downloading update from http://downloads.wordpress.org/plugin/***.zip

Unpacking the update

Deactivating the plugin

Removing the old version of the plugin

Installing the latest version

Plugin upgraded successfully

Attempting reactivation of the plugin

Plugin reactivated successfully.

無事にアップデート完了。ちなみに、Wordpress Automatic Upgrade 自体もこの方法でアップデートできる。さらに、現時点でのバージョン1.1では、このプラグインを有効にしていても、プラグインのアップデートに失敗しない。

あとは、右上のプラグインのリンクからプラグイン一覧に戻って、プラグインのアップデートをやりまくる。

めんどくさかったプラグインのアップデートが簡単になってめでたしめでたし。

コメント (0) »

この記事にはまだコメントがついていません。

コメント RSS TrackBack URI

コメントをどうぞ

段落や改行は自動挿入です。メールアドレスはサイト上では非表示です。
使用できる HTML タグ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

HTML convert time: 1.919 sec. Powered by WordPress ME