Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-05-08 6:10 PST - Finder Error #66

Closed
robertfoleyjr opened this issue May 9, 2024 · 2 comments
Closed

2024-05-08 6:10 PST - Finder Error #66

robertfoleyjr opened this issue May 9, 2024 · 2 comments

Comments

@robertfoleyjr
Copy link

robertfoleyjr commented May 9, 2024

Recently updated via composer and drush now fails.

drush status
PHP Fatal error: Uncaught TypeError: is_link(): Argument #1 ($filename) must be of type string, Drush\Config\Environment given in /root-to-drupal/vendor/webflo/drupal-finder/src/DrupalFinder.php:153
Stack trace:
#0 /root-to-drupal/vendor/webflo/drupal-finder/src/DrupalFinder.php(153): is_link()
#1 /root-to-drupal/vendor/webflo/drupal-finder/src/DrupalFinder.php(75): DrupalFinder\DrupalFinder->discoverRoots()
#2 /root-to-drupal/vendor/drush/drush/src/Preflight/Preflight.php(310): DrupalFinder\DrupalFinder->__construct()
#3 /root-to-drupal/vendor/drush/drush/src/Runtime/Runtime.php(58): Drush\Preflight\Preflight->preflight()
#4 /root-to-drupal/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#5 /root-to-drupal/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#6 /root-to-drupal/vendor/drush/drush/drush(4): require('...')
#7 {main}
thrown in /root-to-drupal/vendor/webflo/drupal-finder/src/DrupalFinder.php on line 153

Fails on
OS:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"

Php: 8.2.18
DB: MariaDB version 11.2.3
Drupal: 10.2.6
Drush: 12.4.3

@webflo
Copy link
Owner

webflo commented May 9, 2024

Related to drush-ops/drush#5966 - This has been fixed in drush 12.5.2. Please make sure you use the latest version. Thanks!

@robertfoleyjr
Copy link
Author

Confirmed, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants