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
The error is just due to you trying to output the value that craft.geomate.country edits, directly. As the error message states, this is a complete object of type GeoIp2\Model\Country, which you need to drill into to get exactly what you want. To get an idea of what information is vailable, you can use dump() if you're in devMode, ie {{ dump(craft.geomate.country()) }}.
I've installed geomete by following the instructions provided. As I'm working locally I've set my forceIp to my local IP address as follows:
return [ 'forceIp' => 'IP-ADDRESS-HERE' ];
When I add the following to my twig template
{{ craft.geomate.country }}
and run it I receive the following error:Any advise on how to sort this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: