Title: PHP Notice: Undefined variable
Last modified: August 21, 2016

---

# PHP Notice: Undefined variable

 *  Resolved [falopiuss](https://wordpress.org/support/users/falopiuss/)
 * (@falopiuss)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable/)
 * _[09-Jul-2013 07:15:15 UTC] PHP Notice: Undefined variable: user\_agent\_string
   in /home/…/public\_html/wp-content/plugins/block-bad-queries/block-bad-queries.
   php on line 30_
 * Repeated in debug.log file. Plugin updated at their last version.
 * Just a little positive contribution…
 * I’ve seen your last changelog. You mention not exactly undefined variable but
   undefined index. Similar problem I think.
 * Anyway, thanks for your fantastic work!
 * [http://wordpress.org/extend/plugins/block-bad-queries/](http://wordpress.org/extend/plugins/block-bad-queries/)

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable/#post-3927056)
 * Yep, will fix it up for the next version – thank you for the feedback 🙂
 *  Thread Starter [falopiuss](https://wordpress.org/support/users/falopiuss/)
 * (@falopiuss)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable/#post-3927138)
 * Sorry, I zoned out to leave this comment. I dont know how to remove it.
    I apologize.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable/#post-3927171)
 * No problem. I’m not seeing this PHP Notice anywhere so gonna close this thread.
   Feel free to open a new thread for any further issues/questions. Thank you.

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

The topic ‘PHP Notice: Undefined variable’ is closed to new replies.

 * ![](https://ps.w.org/block-bad-queries/assets/icon-256x256.png?rev=1471770)
 * [BBQ Firewall - Fast & Powerful Firewall Security](https://wordpress.org/plugins/block-bad-queries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-bad-queries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-bad-queries/)
 * [Active Topics](https://wordpress.org/support/plugin/block-bad-queries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-bad-queries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-bad-queries/reviews/)

## Tags

 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable/#post-3927171)
 * Status: resolved