Drush 13 compatibility

Created on 23 July 2024, 4 months ago
Updated 29 August 2024, 3 months ago

Problem/Motivation

When trying to run a Drush command with Drush 13 this error is received

AssertionError: assert(is_null($this->logger) || $this->logger instanceof DrushLoggerManager)

I tracked this down to Drupal\ultimate_cron\Commands\UltimateCronCommands as UltimateCronCommands::logger is LoggerChannelInterface and Drush\Command\DrushCommands::logger() checks

assert(is_null($this->logger) || $this->logger instanceof DrushLoggerManager);

Steps to reproduce

attempt to run a Drush command with Ultimate Cron installed in the system

Proposed resolution

fix the UltimateCronCommands::logger object

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jrglasgow Idaho

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