You are a big user / custom dev of x-cart 5 - how is the GDPR Module working for you? Do you have geoip active?
I believe that "Geolocation module" IS NOT
geoip PHP extension. Perhaps that is why it is not working for @kevinrm?
Once again I have it working for x-cart 4.6.6
My 2 cents - I'll get my coat...