- ๐บ๐ธUnited States w01f
Confirming removing "final" line 15 in /src/Controller/CountryAutocompleteController.php file allows the site to correctly run drush updb/cr or run update.php from the site again.
- ๐ฎ๐ณIndia dev2.addweb
Yes, @batigolix. I removed the
final
keyword fromCountryAutocompleteController.php
as itโs extended byCountryFlagAutocompleteController.php
in the flags_country module.Actually, this issue originates from #3458116 ๐ Make code pass the gitlab pipeline Fixed . We've made some adjustments to pass the GitLab pipeline.
- @nileshaddweb opened merge request.
- ๐ฎ๐ณIndia dev2.addweb
nilesh.addweb โ made their first commit to this issueโs fork.
- ๐บ๐ธUnited States w01f
I am seeing this on a site recently updated to 10.3.7 and using both country and flags modules. The php_errorlog file shows the following error:
[09-Nov-2024 10:44:22 Asia/Tokyo] PHP Fatal error: Class Drupal\flags_country\Controller\CountryFlagAutocompleteController cannot extend final class Drupal\country\Controller\CountryAutocompleteController in /home/customer/www/kobejet.com/web/modules/contrib/flags/flags_country/src/Controller/CountryFlagAutocompleteController.php on line 0
Flags (Flags Country) version 2.0.0-alpha1
Country version 2.1.0