Support » Plugin: Cerber Security, Antispam & Malware Scan » PHP Notice: Undefined index: REQUEST_METHOD in v5.1

  • Resolved dspaete

    (@dspaete)


    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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Notice: Undefined index: REQUEST_METHOD in v5.1’ is closed to new replies.