You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
When using the field I cannot save any entry due to this error:
tde\craft\geoaddress\services\GeoAddressService::getCoordsByAddress(): Argument #2 ($country) must be of type string, null given, called in path-to-project/app/vendor/tde/craftplugin-geoaddress/src/fields/GeoAddressField.php on line 72
I am using a valid Google Maps key, which I entered in the plugin settings.
Craft 4.5.9
Plugin 2.0.0
The text was updated successfully, but these errors were encountered:
5. Copy and rename the file geoaddress-sample.php to [your craft directory]/config/geoaddress.php and modify it to include only those countries you want enabled.
I did not read step 5 as a requirement, more like „if you want to restrict the possible countries, do that”. Maybe you could clarify that in the README.
So I can now save entries with that field and I tested different adresses but none of them worked.
The address that you see in the Screenshot is from a local movie theatre:
I've just updated the README.md file which hopefully clarifies that step 5 is required. I've also just tested your address on one of our websites and the coordinates are being generated. Is it possible to switch to a HTTPS - environment and test it again?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using the field I cannot save any entry due to this error:
I am using a valid Google Maps key, which I entered in the plugin settings.
Craft 4.5.9
Plugin 2.0.0
The text was updated successfully, but these errors were encountered: