[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
- The topic ‘[Plugin: Geolocation] Notices when using the plugin’ is closed to new replies.