$logger must be ?Psr\Log\LoggerInterface

Created on 14 November 2023, 8 months ago
Updated 23 November 2023, 7 months ago

Problem/Motivation

I'm getting this error when running a drush command after upgrading from D9 (9.5.11) to D10 (10.1.6).

Fatal error: Type of Drupal\views_data_export\Commands\ViewsDataExportCommands::$logger must be ?Psr\Log\LoggerInterface (as in class Drush\Commands\DrushCommands) in /mnt/www/html/website/docroot/modules/contrib/views_data_export/src/Commands/ViewsDataExportCommands.php on line 20
 [warning] Drush command terminated abnormally.

Steps to reproduce

  • Drush 12.4.2.0
  • PHP 8.1

drush updbst

Any insight on how to address this is highly appreciated.

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.4

Component

Code

Created by

πŸ‡΅πŸ‡­Philippines monph

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

Comments & Activities

Production build 0.69.0 2024