Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @tiku – Thanks for bring this to our attention … we’re not seeing any other reports of this problem but you are likely correct with it being sorted out by using an isset conditional.

    – Cais.

    Benjamin

    (@benjaminowens)

    Thanks TiKu, it appears that warning is generated reliably when using WP-CLI and with a system cron. I’ve pushed a fix that will be in the next release.

    If you’re seeing that warning generated by your web server you should inspect your settings, $_SERVER[‘REQUEST_METHOD’] should always be present when PHP is working from an HTTP request.

    Thread Starter TiKu

    (@tiku)

    Hi,

    Yes, we have some cron jobs running that call wordpress from CLI. I never thought about that the warnings might come from these cron jobs, but you are probably right.
    Many thanks for fixing it!

    Regards
    TiKu

    Plugin Contributor photocrati

    (@photocrati)

    @tiku – Please let us know if the problem continues after our next release.

    Thanks!

    – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warnings "Undefined index: REQUEST_METHOD"’ is closed to new replies.