ppBlogのバグ

久し振りにトップページにアクセスすると以下のエラーがでる。

Warning: fopen() expects parameter 1 to be string, array given in /home/kohchi/public_html/ppBlog/utils.php on line 1273

Warning: fopen() expects parameter 1 to be string, array given in /home/kohchi/public_html/ppBlog/utils.php on line 1273

....

どうも、stat/data/YYYYmm_ssssssssss.txt がないとそうなるようだ。

stat/log.php の 110行目付近、

 rewrite($logfile, $LINES);
 if(is_array($logfile2)) $logfile2 = $logfile2[0]; // この行を追加
 rewrite($logfile2, $logFormat, TRUE); # add-mode

ppBlog 1.6.2 にて。