Whitelist selected countries Error

Created on 24 January 2022, almost 3 years ago
Updated 24 December 2024, 27 days ago

Problem/Motivation

Environment:
Drupal : 9.3.0
PHP : 8
IP-based Determination of a Visitor's Country: 2.0.0

Enabling Whitelist countries does not work and gives error.

Error: Call to undefined function Drupal\restrict_ip\Service\ip2country_get_country() in Drupal\restrict_ip\Service\RestrictIpService->ip2CountryGetCurrentUserCountry() (line 283 of /home/*DOMAINNAME*/*HOMEDIRECTORY*/modules/restrict_ip/src/Service/RestrictIpService.php)

πŸ› Bug report
Status

Needs work

Version

5.0

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa Duvan.Slabbert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024