cheesegrits / filament-google-maps

Google Maps package for Filament PHP
234 stars 65 forks source link

->geocodeOnLoad() lead to Call to a member function first() on null in production #75

Open bureaunoir opened 8 months ago

bureaunoir commented 8 months ago

Hi, please delete.

jrafaelca commented 6 months ago

Hello friend, exactly the same thing happened to me, in my case my API_KEY is not authorized to use the Geocoding API, it would be good to handle the error.

You can try setting your environment variable to "FILAMENT_GOOGLE_MAPS_ADDITIONAL_LIBRARIES=places,geocoding" if you are sure that your API_KEY has that functionality enabled