Title: Is this PHP Notice normal?
Last modified: November 25, 2017

---

# Is this PHP Notice normal?

 *  Resolved [walpap](https://wordpress.org/support/users/walpap/)
 * (@walpap)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/)
 * 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](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/#post-9721651)
 * 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 🙂
    -  This reply was modified 8 years, 5 months ago by [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/).
 *  Thread Starter [walpap](https://wordpress.org/support/users/walpap/)
 * (@walpap)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/#post-9721662)
 * Excellent! Keep up the good work!
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/#post-9828730)
 * Fixed in the latest release! Thanks for your patience!
 * regards.
 *  Thread Starter [walpap](https://wordpress.org/support/users/walpap/)
 * (@walpap)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/#post-9829711)
 * Thank you!!

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

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

 * ![](https://ps.w.org/wp-404-auto-redirect-to-similar-post/assets/icon-256x256.
   png?rev=1972642)
 * [WP 404 Auto Redirect to Similar Post](https://wordpress.org/plugins/wp-404-auto-redirect-to-similar-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-404-auto-redirect-to-similar-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-404-auto-redirect-to-similar-post/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-404-auto-redirect-to-similar-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-404-auto-redirect-to-similar-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-404-auto-redirect-to-similar-post/reviews/)

## Tags

 * [log](https://wordpress.org/support/topic-tag/log/)
 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 2 participants
 * Last reply from: [walpap](https://wordpress.org/support/users/walpap/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/is-this-php-notice-normal/#post-9829711)
 * Status: resolved