可说欢喜
Typecho

LoveKKComment 插件报错 Warning: in_array()

by 温柔, 2020-06-02


在后台会显示下面的报错

Warning: in_array() expects parameter 2 to be array, null given in /usr/plugins/LoveKKComment/Plugin.php on line 801

从网上找的修复方式 修改 801行为:

 if ( ($plugin->public_forget==null) || in_array('enable', $plugin->public_forget) ) {

然后Warning信息就没了。

PHP评论插件
温柔

作者: 温柔

3 条评论
    gaobinzhan 回复
    gaobinzhan2020-06-10 20:50

    为什么不试试https://github.com/gaobinzhan/CommentPush

      Intern 回复
      Intern MOD2020-06-11 19:27

      😘 已经换上了~

      @gaobinzhan
    an 回复
    an2020-06-04 14:36

    大佬,打字机不显示文字了是什么原因?

2024 © typecho & elise