You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After the removal of https://github.com/consolidation/log/commits/3.x/src/ConsoleLogLevel.php (see also #20) I get an error at the very end after installing Drupal 10 Alpha 7 with Lando running PHP 8.1, or after every command which should end with a [notice] Successfully ... message.
Change: const SUCCESS = 'success';
To: const SUCCESS = 'notice';
System Configuration
Q
A
Drush version?
11.x
Drupal version?
10.x
PHP version
8.x
OS?
Linux
$ drush st
Drupal version : 10.0.0-alpha7
Site URI : http://default
DB driver : mysql
DB hostname : database
DB port :
DB username : drupal10
DB name : drupal10
Database : Connected
Drupal bootstrap : Successful
Default theme : olivero
Admin theme : claro
PHP binary : /usr/local/bin/php
PHP OS : Linux
Drush script : /app/vendor/bin/drush
Drush version : 11.1.1
Drush temp : /tmp
Drush configs : /app/vendor/drush/drush/drush.yml
Install profile : standard
Drupal root : /app/web
Site path : sites/default
Files, Public : sites/default/files
Files, Temp : /tmp
$ lando info | grep -A 1 php.ini
config: { php: '/home/user/.lando/config/drupal10/php.ini' },
version: '8.1',
Additional information
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
ConsolidationLogLevel still exists on 2.x versions of consolidation/log. Versions of Drush that use this class should be requiring consolidation/log ^2, and should not allow consolidation/log ^3. Is this not the case?
I have created a merge request which restores the /src/ConsoleLogLevel.php file as outlined under Workaround above. I have no idea if it's the right solution, but it gets rid of the error messages and restores the normal feedback messages.
Describe the bug
After the removal of https://github.com/consolidation/log/commits/3.x/src/ConsoleLogLevel.php (see also #20) I get an error at the very end after installing Drupal 10 Alpha 7 with Lando running PHP 8.1, or after every command which should end with a
[notice] Successfully ...
message.I found https://drupal.stackexchange.com/questions/311778/uncaught-error-class-consolidation-log-loglevel-not-found-in-app-vendor-con so I restored https://github.com/consolidation/log/blob/2.x/src/ConsoleLogLevel.php changing
const SUCCESS = 'success';
toconst SUCCESS = 'notice';
and everything works fine, and I get the expected messages, such as:To Reproduce
Expected behavior
A success message, after running a Drush command.
Actual behavior
I got an error.
Workaround
const SUCCESS = 'success';
To:
const SUCCESS = 'notice';
System Configuration
Additional information
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: