Title: [Plugin: Geolocation] Notices when using the plugin
Last modified: August 20, 2016

---

# [Plugin: Geolocation] Notices when using the plugin

 *  [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * (@brianhogg)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-geolocation-notices-when-using-the-plugin/)
 * Hi,
 * With geolocation enabled, I receive the following errors on posts/pages:
 * Notice: Undefined offset: 0 in /private/var/www/bhconsulting-new/wordpress/wp-
   content/plugins/geolocation/geolocation.php on line 537
 * Notice: Undefined offset: 0 in /private/var/www/bhconsulting-new/wordpress/wp-
   content/plugins/geolocation/geolocation.php on line 537
 * Notice: Undefined variable: city in /private/var/www/bhconsulting-new/wordpress/
   wp-content/plugins/geolocation/geolocation.php on line 522
 * Notice: Undefined variable: city in /private/var/www/bhconsulting-new/wordpress/
   wp-content/plugins/geolocation/geolocation.php on line 524
 * Notice: Undefined variable: state in /private/var/www/bhconsulting-new/wordpress/
   wp-content/plugins/geolocation/geolocation.php on line 526
 * Notice: Undefined variable: country in /private/var/www/bhconsulting-new/wordpress/
   wp-content/plugins/geolocation/geolocation.php on line 528
 * Notice: Undefined variable: address in /private/var/www/bhconsulting-new/wordpress/
   wp-content/plugins/geolocation/geolocation.php on line 531
 * Seems checks should be done before trying to access data that doesn’t exist?
 * Thanks,
    Brian
 * [http://wordpress.org/extend/plugins/geolocation/](http://wordpress.org/extend/plugins/geolocation/)

The topic ‘[Plugin: Geolocation] Notices when using the plugin’ is closed to new
replies.

 * ![](https://ps.w.org/geolocation/assets/icon-256x256.png?rev=2871062)
 * [Geolocation](https://wordpress.org/plugins/geolocation/)
 * [Support Threads](https://wordpress.org/support/plugin/geolocation/)
 * [Active Topics](https://wordpress.org/support/plugin/geolocation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geolocation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geolocation/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-geolocation-notices-when-using-the-plugin/)
 * Status: not resolved