Drush 11 not work with Drupal 9

Created on 3 January 2023, about 2 years ago
Updated 18 May 2023, over 1 year ago

Hi People

Problem/Motivation

I am workd with drupal 9 and drush 11 (differentes versions 11.4, 11.3, 11.2 and 11.1) and after install and I user de command drush cr I get a error message

[warning] Drush command terminated abnormally.

Steps to reproduce

I've tried to unisntall drush and install other version of drush 11, and get the same message. I couldnt install other older version of drush (10 o 9)

Any ideas???

Thanks

💬 Support request
Status

Active

Version

6.0

Component

User Commands

Created by

🇪🇸Spain santy

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.

  • 🇧🇪Belgium MarkDQ

    I've done the 6 steps, but still got "terminated abnormally" with "drush cr"

    "drush status" gave a lot of error messages, starting with "[error] TypeError: Symfony\Component\Filesystem\Path::canonicalize(): Argument #1 ($path) must be of type string, array given in Symfony\Component\Filesystem\Path::canonicalize() (line 69 of /home/apneuvereniging/public_apneu3/vendor/symfony/filesystem/Path.php) #0 [internal function]: Symfony\Component\Filesystem\Path::canonicalize()"

    The home page no longer shows the hamburger menu and "/admin" returned "no access"

    Drupal 9.5.9
    Drush 11.5.1
    php 8.1 > 7.4 > 8.1

Production build 0.71.5 2024