edo1z blog

プログラミングなどに関するブログです

wordpressのEWWW Image Optimizerというプラグインでエラーがでる

EWWW Image Optimizerでエラーが出るようになりました。このプラグインは、画像ファイルを圧縮してファイルサイズを小さくしてくれます。アップロードしたら勝手に実行してくれます。最新版にアップデートしたことが原因なのかは分かりませんが、突然下記のエラーがでるようになりました。

出現したエラー

The EWWW Image Optimizer has detected excessive re-optimization of multiple images.
Please turn on the Debugging setting, wait for approximately 12 hours,
and then visit the Dynamic Image Debugging page.
Reset Counters

解決策

結論的には、エラー文中のReset Countersという文字は実際はリンクが張られているのですが、これをクリックしたら直りました。

同じエラーが出た人が質問していて、このプラグインの作者さんが回答してくれてました。 [Resolved] EWWW Image Optimizer has detected excessive re-optimization of multiple images

I think yours are false positives. You can just hit the reset button, and move on. Looks like you’ve got the scheduled optimizer scanning the theme/plugin folders, so anytime one of those gets updated with unoptimized images, they get re-optimized, so no big deal.

とりあえずリセットボタンを押したら直りました。最初押したときエラー画面になった気がするのですが、もう一度押したらエラーが消えました。

ちなみに、上記英文のfalse positivesというのは、間違ってることを正しいと思ってる状態みたいな感じらしいです。ここに解説がのってました。クリックのことはhitというんですね。