Your plugin throws some PHP notices that need to be addressed when OSM address cannot be geocoded (for whatever reason) ...
[16-Dec-2022 07:38:10 UTC] PHP Notice: Undefined offset: 0 in /wp-content/plugins/leaflet-map/class.geocoder.php on line 171
[16-Dec-2022 07:38:10 UTC] PHP Notice: Trying to get property 'lat' of non-object in /wp-content/plugins/leaflet-map/class.geocoder.php on line 171
[16-Dec-2022 07:38:10 UTC] PHP Notice: Undefined offset: 0 in /wp-content/plugins/leaflet-map/class.geocoder.php on line 172
[16-Dec-2022 07:38:10 UTC] PHP Notice: Trying to get property 'lon' of non-object in /wp-content/plugins/leaflet-map/class.geocoder.php on line 172
They can be resolved by changing the code at line 170 of /class.geocoder.php from ...
Your plugin throws some PHP notices that need to be addressed when OSM address cannot be geocoded (for whatever reason) ...
[16-Dec-2022 07:38:10 UTC] PHP Notice: Undefined offset: 0 in /wp-content/plugins/leaflet-map/class.geocoder.php on line 171 [16-Dec-2022 07:38:10 UTC] PHP Notice: Trying to get property 'lat' of non-object in /wp-content/plugins/leaflet-map/class.geocoder.php on line 171 [16-Dec-2022 07:38:10 UTC] PHP Notice: Undefined offset: 0 in /wp-content/plugins/leaflet-map/class.geocoder.php on line 172 [16-Dec-2022 07:38:10 UTC] PHP Notice: Trying to get property 'lon' of non-object in /wp-content/plugins/leaflet-map/class.geocoder.php on line 172
They can be resolved by changing the code at line 170 of /class.geocoder.php from ...
... to ...
Oliver
Link: https://wordpress.org/support/topic/php-notices-156/