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
github-actionsbot
changed the title
Undefined array key "bootstrap" for Inspector when Drupal is not installed
BLT-5217: Undefined array key "bootstrap" for Inspector when Drupal is not installed
Jun 21, 2023
Describe the bug
When a site does not yet have Drupal installed and the inspector is called to check, there is a PHP Warning thrown:
PHP Warning: Undefined array key "bootstrap" in vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 192
Verbose output:
[debug] Verifying that Drupal is installed...
[info] Running command /var/www/html//vendor/bin/drush @self --uri=* status --format=json --fields=* --root=/var/www/html/****/docroot
Warning: Undefined array key "bootstrap" in /mnt/www/html/****/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 192
To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:
$this->getInspector()->isDrupalInstalled()
Expected behavior
A boolean value of FALSE should be returned when it is called.
The text was updated successfully, but these errors were encountered: