• Resolved altmmc

    (@altmmc)


    Hi.
    This text is translated using DeepL.

    When this plugin is enabled, the following notification is logged in debug.log every 15 minutes.
    PHP Notice: Undefined index: REQUEST_METHOD in /wp-content/plugins/ip-location-block/classes/class-ip-location-block.php on line 118

    It can be erased by modifying it as follows

    elseif ( 'POST' === $_SERVER['REQUEST_METHOD'] && 'trackback' === basename( $this->request_uri ) ) {
    
    ↓
    
    elseif ( 'POST' === isset( $_SERVER['REQUEST_METHOD'] ) && 'trackback' === basename( $this->request_uri ) ) {

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darko G.

    (@darkog)

    Thank you @altmmc ,

    This will be fixed in the next release.

    Thread Starter altmmc

    (@altmmc)

    Looking forward to the next release.
    Thanks for the great plugin!

    Hi, great, great plugin! I’m having the same issue with REQUEST_METHOD. Do you have an ETA for the next release?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Notice: Undefined index: REQUEST_METHOD in’ is closed to new replies.