Issue n2 is the effect of issue n1… without an API key added to the include it won’t work.
It just needs to be added here in the maps js include…
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_GOES_HERE&libraries=places"></script>