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

Running any blt command gives php notices #1598

Closed
arknoll opened this issue Jun 5, 2017 · 1 comment
Closed

Running any blt command gives php notices #1598

arknoll opened this issue Jun 5, 2017 · 1 comment
Labels
Bug Something isn't working

Comments

@arknoll
Copy link
Contributor

arknoll commented Jun 5, 2017

My system information:

  • Operating system type: OSX
  • Operating system version: Sierra
  • BLT version: 8.9.x

Output of blt doctor:

PHP Notice:  Undefined offset: 3 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 3 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
PHP Notice:  Undefined offset: 2 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 2 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
PHP Notice:  Undefined offset: 1 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 1 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
Attempting to run doctor on host machine...
[Acquia\Blt\Robo\Tasks\DrushTask]  The drush command 'blt-doctor' could not be found.  Run `drush           [error]
cache-clear drush` to clear the commandfile cache if you have
installed new extensions.
[Acquia\Blt\Robo\Tasks\DrushTask]  Exit code 1
[warning] Unable to run the doctor using alias '@canary.local'. Trying with '@self'...
[warning] Unable to run the doctor using alias '@self'. Trying without alias...

When I run this command:

blt doctor

I get the following output:

PHP Notice:  Undefined offset: 3 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 3 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
PHP Notice:  Undefined offset: 2 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 2 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
PHP Notice:  Undefined offset: 1 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534

Notice: Undefined offset: 1 in /Users/alex.knoll/sites/canary/vendor/acquia/blt/src/Robo/Inspector/Inspector.php on line 534
Attempting to run doctor on host machine...
[Acquia\Blt\Robo\Tasks\DrushTask]  The drush command 'blt-doctor' could not be found.  Run `drush           [error]
cache-clear drush` to clear the commandfile cache if you have
installed new extensions.
[Acquia\Blt\Robo\Tasks\DrushTask]  Exit code 1
[warning] Unable to run the doctor using alias '@canary.local'. Trying with '@self'...
[warning] Unable to run the doctor using alias '@self'. Trying without alias...

Note: I have confirmed that my VM is up and running. Manually running this works correctly:

➜  canary git:(blt-8.9.0) ✗ vagrant status --machine-readable
1496686859,canary,metadata,provider,virtualbox
1496686859,canary,provider-name,virtualbox
1496686859,canary,state,running
1496686859,canary,state-human-short,running
1496686859,canary,state-human-long,The VM is running. To stop this VM%!(VAGRANT_COMMA) you can run `vagrant halt` to\nshut it down forcefully%!(VAGRANT_COMMA) or you can run `vagrant suspend` to simply\nsuspend the virtual machine. In either case%!(VAGRANT_COMMA) to restart it again%!(VAGRANT_COMMA)\nsimply run `vagrant up`.
1496686859,,ui,info,Current machine states:\n\ncanary                    running (virtualbox)\n\nThe VM is running. To stop this VM%!(VAGRANT_COMMA) you can run `vagrant halt` to\nshut it down forcefully%!(VAGRANT_COMMA) or you can run `vagrant suspend` to simply\nsuspend the virtual machine. In either case%!(VAGRANT_COMMA) to restart it again%!(VAGRANT_COMMA)\nsimply run `vagrant up`.
@grasmash grasmash added the Bug Something isn't working label Jun 5, 2017
@grasmash
Copy link
Contributor

grasmash commented Jun 5, 2017

The responsible commit was reverted.

@grasmash grasmash closed this as completed Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants