By submitting patches for review, you agree to the Developer Certificate of Origin. A copy of this agreement can be found in the project root, named CONTRIBUTING.txt.

Problem/Motivation

When tried to go in this route /admin/config/geoblock I had this error Error: Class "League\ISO3166\ISO3166" not found in Drupal\geoblock\Form\SettingsForm->getCountryCodeOptions() (line 163 of modules/contrib/geoblock/src/Form/SettingsForm.php).

Steps to reproduce

Enable the module
Go to /admin/config/development/logging and change the error messages to display to all messages option.
Go to admin/config/geoblock and see the error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

elber created an issue. See original summary.

clayfreeman’s picture

Status: Active » Postponed (maintainer needs more info)

I am unable to reproduce the issue. How are you installing the module? If you're installing without using Composer, have you made the module's dependencies available? Namely, this module requires league/iso3166 for a canonical list of country codes.

elber’s picture

Hi I'm cloning the repository, I will try to install using composer, sorry.

clayfreeman’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)