D9 drush colorbox-plugin: Call to undefined method

Created on 1 October 2020, over 3 years ago
Updated 8 March 2024, 4 months ago

Problem/Motivation

My System: Drupal 9.0.6

I was trying to install the 3rd-Party library for Colorbox using the suggested approach by using the drush command.

drush colorbox-plugin

Installation worked. 3rd Party library was installed correctly.
Nevertheless there was an error message:

Error: Call to undefined method Drupal\Core\Logger\LoggerChannel::success() in drush_colorbox_plugin() (line 95 of                                             [error]
/var/www/html/web/modules/contrib/colorbox/drush/colorbox.drush.inc)

Probably there is an inconsistency between Drupal 8 and Drupal 9?

Steps to reproduce

Install 3rd party library using drush command on Drupal 9.

Proposed resolution

Use D9 API.

Remaining tasks

User interface changes

No.

API changes

No.

Data model changes

No.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Lemontonix

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.69.0 2024