Page broken after Ajax call on leaflet map Page broken after Ajax call on leaflet map flask flask

Page broken after Ajax call on leaflet map


you loaded jquery twice once in layout once in map page loading it twice make it work for first time and then entire functionswill give error on second load first picture line 15 from header tag first time you loaded jquery line 8 from second picture second jquery loading just remove the second onebtw using cdn for bootstrap and jquery and so on will make your response awfully slow


I had the same issue, the problem was PHP 7.4, page has broken instead of Error, I changed it back to 7.3 it works and I see the errors again.