- 🇮🇳India Shifali Baghel Gurgaon
Hi all,
I'm getting the same issue after updating my Drupal Core 9.5.10 and Acquia CMS ^2.1.
Fatal error: Declaration of Acquia\Blt\Robo\Common\EnvironmentDetector::getSiteName($site_path) must be compatible with Acquia\DrupalEnvironmentDetector\AcquiaDrupalEnvironmentDetector::getSiteName(string $site_path): ?string in /var/www/html/vendor/acquia/blt/src/Robo/Common/EnvironmentDetector.php on line 236
The attached patch doesn't work because we haven't been using this "acsf" module.
If I apply the below code in my root composer.json file, that doesn't work at all. Quick help would be appreciated."drush": {
"services": {
"drush.services.yml": "^9 || ^10"
}
}, - 🇮🇳India Shifali Baghel Gurgaon
I got the solution.
I changed my BLT version from 13.4.0 to 13.7.2 and it worked fine.
"acquia/blt": "^13.7.2"