Error after updating from 2.0 to 2.1

Created on 6 November 2024, about 1 month ago

Problem/Motivation

After upgrading the module from version 2.0 to 2.1 using Composer, when trying to run Drush in the console, an error occurs:

"PHP Fatal error: Class Drupal\flags_country\Controller\CountryFlagAutocompleteController cannot extend final class Drupal\country\Controller\CountryAutocompleteController in ../web/modules/contrib/flags/flags_country/src/Controller/CountryFlagAutocompleteController.php on line 17

Fatal error: Class Drupal\flags_country\Controller\CountryFlagAutocompleteController cannot extend final class Drupal\country\Controller\CountryAutocompleteController in ../web/modules/contrib/flags/flags_country/src/Controller/CountryFlagAutocompleteController.php on line 17
[warning] Drush command terminated abnormally."

Steps to reproduce

- Run "composer require 'drupal/country:^2.1'"
- Run "drush cr"

๐Ÿ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

๐Ÿ‡ต๐Ÿ‡ฑPoland Alexius

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024