• Weißbeck

    (@hugomaulwurf)


    Hi,

    I'm getting the following PHP Warning in my error log:

    PHP Warning: Undefined array key "REQUEST_METHOD"
    in .../ninjafirewall/lib/class-firewall-log.php on line 143

    Environment:
    - WordPress Version: 6.9.4
    - NinjaFirewall Version: 4.8.5
    - PHP Version: 8.4.20
    - Server: Nginx

    Everything seems to work fine but the warning
    spam the error log.

    Is there a fix or workaround available?

    Thanks!
    • This topic was modified 5 days ago by Weißbeck.
Viewing 1 replies (of 1 total)
  • Plugin Contributor bruandet

    (@bruandet)

    That request seems to come from a command line tool (PHP CLI) not from an HTTP request, because the $_SERVER['REQUEST_METHOD'] environment variable is missing.
    Do you have any idea who/what triggers that request ?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.