Walfried Veldman
Walfried Veldman

Reputation: 1

Drush 13.3.3.0 does not show admin commands although database connections seems to be working

Simple admin commands like "drush en" and "drush cc" result in

 "command pm (or cc) was not found. Drush was unable to query your database. As a result, many commands are unavailable."

"drush status" works fine and shows the correct info. "drush (php version 8.3.14, the right site info, etc). "drush sqlc" connects to my site's database (show tables shows the correct info).

"drush cc --debug" shows:

Exception trace:
  at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/drush/drush/src/Application.php:233
 Drush\Application->bootstrapAndFind() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/drush/drush/src/Application.php:185
 Drush\Application->find() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/symfony/console/Application.php:266
 Symfony\Component\Console\Application->doRun() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/symfony/console/Application.php:175
 Symfony\Component\Console\Application->run() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/drush/drush/src/Runtime/Runtime.php:110
 Drush\Runtime\Runtime->doRun() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/drush/drush/src/Runtime/Runtime.php:40
 Drush\Runtime\Runtime->run() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/drush/drush/drush.php:140
 include() at /Applications/XAMPP/xamppfiles/htdocs/drupal10/vendor/bin/drush.php:120

With "drush en mymodule" I expected the command to be executed. Via the site and admin account. I can do the work but drush should be able to do this too.

Upvotes: 0

Views: 19

Answers (0)

Related Questions