Title: A small bug
Last modified: November 25, 2016

---

# A small bug

 *  [Artem Komarov](https://wordpress.org/support/users/artemkomarov/)
 * (@artemkomarov)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/a-small-bug-2/)
 * Hi, great plugin thank you.
 * I found a small bug. For example, if there is a user with saved city as a “test”
   for example. And then we install this plugin which takes saved value city “test”
   and then match with existing cities it will fail with php error:
 *  Notice: Undefined index: test in /***/wp-content/plugins/wc-city-select/wc-city-
   select.php on line 133
 * Warning: Invalid argument supplied for foreach() in /***/wp-content/plugins/wc-
   city-select/wc-city-select.php on line 141
 * It is not a fatal error and plugin works as it should but can you fix it please.
   Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Author [mantish](https://wordpress.org/support/users/mantish/)
 * (@mantish)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/a-small-bug-2/#post-8517009)
 * Hi, thanks for the heads up!

Viewing 1 replies (of 1 total)

The topic ‘A small bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-city-select.svg)
 * [WC City Select](https://wordpress.org/plugins/wc-city-select/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-city-select/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-city-select/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-city-select/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-city-select/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mantish](https://wordpress.org/support/users/mantish/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/a-small-bug-2/#post-8517009)
 * Status: not resolved