Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In eu_cookie_compliance_user_in_eu
, we run SmartIp::query()
on the current IP. This breaks the debug feature of Smart IP, and also adds an unnecessary lookup of the geolocation data for the current IP.
D7 doesn't have this problem, so it only needs to be fixed in D8.
Instead, we should get the current values from the smart_ip.smart_ip_location
service.
Comments
Comment #2
svenryen CreditAttribution: svenryen at Ramsalt Lab commentedComment #4
svenryen CreditAttribution: svenryen at Ramsalt Lab commentedComment #6
progzy CreditAttribution: progzy commented@svenryen , with this change I can not see the country anymore at "/eu-cookie-compliance-check" (anonymous user). If I revert I can ; that is what I did to keep the banner to show properly.