acf-location-field
acf-location-field copied to clipboard
Empty Location Value Returns Error
When I leave the location field value blank I get this error.
Notice: Undefined offset: 1 in /home/content/60/10635260/html/wp-content/plugins/advanced-custom-fields-location-field-add-on/location-field.php on line 393
However, if I add a value I get no error.
How can I avoid an error when I have no location to populate field?