bozdoz / wp-plugin-leaflet-map

Add leaflet maps to Wordpress with shortcodes
https://wordpress.org/plugins/leaflet-map/
GNU General Public License v2.0
140 stars 71 forks source link

Lighthouse browser script error #103

Closed princhonzik closed 3 years ago

princhonzik commented 4 years ago

I get an error in Google Lighthouse on a live webpage:

TypeError: t.splice is not a function at /wp-content/plugins/leaflet-map/scripts/construct-leaflet-map.min.js?ver=2.15.0:1:1784 at /wp-content/plugins/leaflet-map/scripts/construct-leaflet-map.min.js?ver=2.15.0:1:2023

Sorry if this is not relevant or an issue on my side; I have no expertise in Javascript and do not know what this means, please excuse that. Any ideas? Thanks.

bozdoz commented 4 years ago

Is the plugin working? Or is this just a warning from Google Lighthouse?

princhonzik commented 4 years ago

Everything seems to be okay as far as I tried.

bozdoz commented 4 years ago

I can't even get lighthouse to work; keep hitting this issue: https://github.com/GoogleChrome/lighthouse/issues/9484

princhonzik commented 4 years ago

https://web.dev/measure/ I used their web.dev thing, is that an option?

bozdoz commented 4 years ago

I am only testing on localhost; I haven't tried putting it on a site and testing yet. Could maybe later; seems like it's an issue with my browser, or Lighthouse.

bozdoz commented 3 years ago

I'm going to close this due to inactivity. If you found a specific issue, or a solution, please reopen.