• Resolved walpap

    (@walpap)


    Although plugin works great, there are many of these lines in the wordpress debug log.

    PHP Notice: Undefined index: SCRIPT_URI in /home/public_html/domain.com/wp-content/plugins/wp-404-auto-redirect-to-similar-post/wp-404-auto-redirect-similar-post.php on line 171

    Just want to know if it is ok. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Yeah I stumbled upon that notice few weeks ago. It’s due to the multiple controls that make sure the current page request is not an ajax request. I check the global variable $_SERVER['SCRIPT_URI'] with other stuff.

    The notice will be fixed in the next release. I just need to add an isset($_SERVER['SCRIPT_URI']) before the call.

    Don’t worry, the Notice is absolutely harmless.

    Thanks for the heads up 🙂

    Thread Starter walpap

    (@walpap)

    Excellent! Keep up the good work!

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Fixed in the latest release! Thanks for your patience!

    regards.

    Thread Starter walpap

    (@walpap)

    Thank you!!

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

The topic ‘Is this PHP Notice normal?’ is closed to new replies.