Support » Plugin: Cerber Security & Limit Login Attempts » PHP Notice: Undefined index: REQUEST_METHOD in v5.1

  • Running wp-cron.php as a CronJob produces the following notices which is really, really annoying:

    PHP Notice: Undefined index: REQUEST_METHOD in …/wp-content/plugins/wp-cerber/wp-cerber.php on line 1247
    PHP Notice: Undefined index: REQUEST_METHOD in …/wp-content/plugins/wp-cerber/wp-cerber.php on line 1256

    This is since version 5.1, PHP 7.1.9. I have now fixed it by checking the existence with isset(). But I would be glad to see it fixed in an upcoming version as well 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gioni

    (@gioni)

    Do you mean running cron from a command line? OK, I will fix it in the next release soon. Thanks for telling me!

    Yes, that’s what I meant. Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.