Class "League\ISO3166\ISO3166" not found

Created on 28 February 2023, over 1 year ago

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

πŸ› Bug report
Status

Closed: works as designed

Version

1.1

Component

Code

Created by

πŸ‡§πŸ‡·Brazil elber Brazil

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

Comments & Activities

  • Issue created by @elber
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States clayfreeman Paragould, AR

    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.

  • πŸ‡§πŸ‡·Brazil elber Brazil

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

  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States clayfreeman Paragould, AR
Production build 0.69.0 2024