Fix old script of Facebook "Like button" on HPB20 / Deal with plug-ins that stopped working after upgrading WP & PHP (Native Emoji, RSS Image Feed)

⌛Time it takes to read this article: 4 minutesWe will explain how to fix the old script of the homepage builder's Facebook "Like" button and how to deal with plugins (Native Emoji, RSS Image Feed, Crayon Syntax Highlighter) that stopped working after upgrading WordPress & PHP.

500 error in WordPress Super Cache plug-in update

⌛Time it takes to read this article: < 1 minutes当Webサイトのキャッシュを行うための有名なWordPressプラグイン「WP Super Cache」を最新版にアップグレードしたら、内部サーバーエラー(HTTP 500 Internal Server Error)が発生し、サイトがダウンしました。 原因の究明と復旧に3時間以上掛かってしまいました😰 原因ですが、以下の二つが考えられます。 1. PHPのバージョンが古い 以前、WordPressプラグイン「WordPress Related Posts」を更新した際、同様のエラーが発生しました。 ネットで調べたところ、WordPress Related PostsはPHP5.4以上でないとエラーが起こるそうです。 残念ながら、ここのレンタルサーバのPHPのバージョンは、Version 5.3.3なので、動作不可という事になります。 結局、このプラグインは停止させ、代わりのプラグイン「WordPress Popular Posts」を入れています。 2. WP Super Cacheの更新前にキャッシュを停止しなかった キャッシュ系のプラグインの更新に関しては、普段はキャッシュを停止してから、更新処理をすべきと考えます。 今回は不用意にキャッシュを動作させたままプラグインの更新を行いましたので、それにより何らかの不具合が発生したかもです。 以上ですが、私としては、「1」のPHPのバージョンの問題が一番怪しいような気がします。 いずれにせよ、このところ、WP Super Cacheは色々とトラブルが多いので、プラグンを削除する事にしました。 プラグインの削除は、DBの削除も必要となるため、一旦、バックアップしていた以前のバージョンのWP Super Cacheのプログラムに書き換え、管理画面からプラグインを削除してから、その他の関連ファイルも手動で削除しました。 しかし、このプラグイン、削除の処理もなかなか一筋縄ではいかず、復旧に至るまで大分てこずりました。 ちなみに、WP Super Cacheは、wp-config.php も書き換えているので、以下の2行を削除しFTPし直す必要があるのですが、この時、パーミッションの設定をミスしてしまい、サーバーがダウンしたままになりました。 WordPressの推奨設定では、通常、400または600なのですが、私のサーバーでは、404にしないと動作しませんでした。 これに気付くのに、3時間も掛かってしまいドツボに嵌りました。😱 define(‘WP_CACHE’, true); //Added by WP-Cache Manager define( ‘WPCACHEHOME’, ‘//’ ); //Added by WP-Cache Manager *10月16日 追記 その後、何らかのプラグインの更新を行った後、WordPressの管理画面へログインすると、また500エラーが発生しました。恐らくそのプラグインに原因があると思われます。 しかし、インストールされたプラグインが多すぎて、プラグインの特定に時間が掛かるため、FTPで一旦、“plugins”フォルダを“plugins___”にリネームすることで、管理画面へログインできるようにしました。 そして、“plugins”フォルダを元の名前に戻し、管理画面で無効化されたプラグインを一つ一つ有効化する事で無事、WordPressを元の状態に戻す事に成功しました! これまでやって来て分かった事ですが、WordPressは、メンテナンスが大変なので、素人は決して手を出さない方が良いかもですね😕

Bug in Transposh's automatic translation function

⌛Time it takes to read this article: < 1 minutesI updated the WordPress plugin "Transposh" to support web translation, but the translation results were incorrect regarding punctuation. I looked into the contents of the relevant DB, and it seems that the DB is not bad. I think it's probably a bug in the automatic translation engine. Therefore, today I contacted the author on the WordPress forum (English version) as follows. I would like to pray that the problem will be resolved as soon as possible. Punctuation marks are not translated! (2 posts) Hello! I think plugin Transposh is best splendid translator for WordPress. Thanks for your great jobs. Well, I have recently upgraded Tranposh to latest version 0.9.9.1. However, a big problem had occurred as a result of the version up. Regrettably, the punctuation marks are no longer converted in automatic translation mode. See the screen of translation result at my web site https://senris.com/transposh/problem.jpg What is a reason that this phenomenon has occurred? Please teach me on the solutions for this problem. My web environment is as follows: *Transposh Translation Filter Version 0.9.9.1 *My web site – https://senris.com *WordPress Version 4.5.2 *PHP Version 5.3.3 *mysql Client API version 5.1.73 https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/ As other issue, I cannot select a translation engine in Automatic Translation Settings Screen. See at https://senris.com/transposh/translation-settings.jpg *2016.7.22 P.S. Can’t diaplay a tranlated page! (1 post) In Tranposh latest version,… Read more »

WordPress plug-in Transposh automatic translation function is stopped

⌛Time it takes to read this article: < 1 minutesOn my website, the automatic translation function of the WordPress plugin ``Transposh'' is no longer working since a month ago. Currently, English pages can be displayed because they are handwritten, but pages in other languages ​​cannot be displayed. This issue has been raised on the WordPress forums, but there has been no official response from the developer yet. It may be due to the updated version of WordPress, but I don't know the cause yet. This has happened several times before, so if you wait for a while, I think it will be fixed in a Transposh version update. *Added on April 2nd Currently, Transposh's automatic translation function has been restored for new articles. There was no update to the Transposh plugin, so I think it's a problem with the Transposh gateway server. I won't know until I contact the author, but if you switch to a paid plan, this problem may not occur.