• Resolved Atsufumi Hara

    (@yan4654f)


    いつも大変便利に利用させていただいております。

    Pluin Testサイトの検証にて、PHP8.1環境でVer 3.4.6で以下のWarningが出ておりますので、情報共有します。

    当方も検証環境でPHP8.1を保有しているため、もし修正されることがありましたら検証してみます。
    https://plugintests.com/plugins/wporg/throws-spam-away/latest

    PHP Warning: Undefined array key “_wpnonce” in /wp-content/plugins/throws-spam-away/throws_spam_away_comments.php on line 13
    PHP Warning: Undefined array key “c_all” in /wp-content/plugins/throws-spam-away/throws_spam_away_comments.php on line 19
    PHP Warning: Undefined array key “tsa_kind” in /wp-content/plugins/throws-spam-away/throws_spam_away_comments.php on line 20
    PHP Warning: Undefined array key “c_pend” in /wp-content/plugins/throws-spam-away/throws_spam_away_comments.php on line 21
    PHP Warning: Undefined array key “pend” in /wp-content/plugins/throws-spam-away/throws_spam_away_comments.php on line 22

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author taman

    (@tsato)

    今朝更新したのですが、こちらのコメントを見逃しており、対応していませんでした。

    不具合確認および修正コミットまではしているのでそのうち対応させます。

    どうぞよろしくお願いいたします。

    Plugin Author taman

    (@tsato)

    改修しました。

    https://plugintests.com/plugins/wporg/throws-spam-away/latest

    こちらで確認できました。

    このサイト便利ですね。

    ご報告、ありがとうございました。

    Thread Starter Atsufumi Hara

    (@yan4654f)

    早速の改修、誠にありがとうございます。

    PHP8.1.12、Wordpress6.2.2にて確認してみましたが、スパム判定、スパムログ、スパム対象外のコメント反映ともに問題なく稼働しています。

    投稿者の名前も英語のみは不可なのですね。こちらも動作も確認しました。

    重複コメントの時に、以下のワーニングは出ますが、実用上は問題ないようです。これはPHP7.4.33でも出るのでPHP8.1は無関係ですね。ご参考までにメッセージを掲載させていただきます。ドメイン名は架空に替えてあります。

    Warning: Attempt to read property “spam_count” on null in?/home/sub/domain.jp/public_html/wp-content/plugins/throws-spam-away/throws_spam_away.class.php?on line?755

    重複しているコメントが見つかりました。同じコメントをすでに投稿しているようです。

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP8.1対応について’ is closed to new replies.