Fatal error: Type of Drupal\ip2country\Commands\Ip2CountryCommands::$logger must be ?Psr\Log\LoggerInterface

Created on 13 January 2023, about 2 years ago
Updated 24 September 2023, over 1 year ago

Problem/Motivation

Fatal error: Type of Drupal\ip2country\Commands\Ip2CountryCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /var/www/html/web/modules/contrib/ip2country/src/Commands/Ip2CountryCommands.php on line 18

Steps to reproduce

1. Drupal 10.0.1

2. Run drush cex

PHP 8.1.11 (cli) (built: Oct 5 2022 07:55:06) (NTS)
Drush Commandline Tool 11.4.0

Proposed resolution

Remove $logger from Ip2CountryCommands as its parent class has it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡³China jungle Chongqing, China

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