opdavies/drupal-vm-cli

Error cycling through installed_extras

Closed this issue · 0 comments

The first one has no errors, but the second one gets this error:

Enter the name of the extra [ ]:

PHP Notice: Undefined offset: 2 in phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php on line 297
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/drupalvm:0
PHP 2. require() /usr/local/bin/drupalvm:10
PHP 3. require() phar:///usr/local/bin/drupalvm/bin/drupalvm:3
PHP 4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/drupalvm/bin/drupalvm.php:13
PHP 5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:117
PHP 6. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:186
PHP 7. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:787
PHP 8. DrupalVmGenerator\Command\Config\GenerateCommand->interact() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Command/Command.php:241
PHP 9. DrupalVmGenerator\Command\Config\GenerateCommand->extrasQuestion() phar:///usr/local/bin/drupalvm/src/Command/Config/GenerateCommand.php:288
PHP 10. DrupalVmGenerator\Style\DrupalVmStyle->choiceNoList() phar:///usr/local/bin/drupalvm/src/Command/ExtrasTrait.php:40
PHP 11. DrupalVmGenerator\Style\DrupalVmStyle->askChoiceQuestion() phar:///usr/local/bin/drupalvm/src/Style/DrupalVmStyle.php:50
PHP 12. Symfony\Component\Console\Helper\SymfonyQuestionHelper->ask() phar:///usr/local/bin/drupalvm/src/Style/DrupalVmStyle.php:61
PHP 13. Symfony\Component\Console\Helper\QuestionHelper->ask() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/SymfonyQuestionHelper.php:48
PHP 14. Symfony\Component\Console\Helper\QuestionHelper->validateAttempts() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:63
PHP 15. Symfony\Component\Console\Helper\QuestionHelper->Symfony\Component\Console\Helper{closure}() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:390
PHP 16. Symfony\Component\Console\Helper\QuestionHelper->doAsk() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:60
PHP 17. Symfony\Component\Console\Helper\QuestionHelper->autocomplete() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:136

Notice: Undefined offset: 2 in phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php on line 297

Call Stack:
0.0002 225920 1. {main}() /usr/local/bin/drupalvm:0
0.1619 600176 2. require('phar:///usr/local/bin/drupalvm/bin/drupalvm') /usr/local/bin/drupalvm:10
0.1620 603544 3. require('phar:///usr/local/bin/drupalvm/bin/drupalvm.php') phar:///usr/local/bin/drupalvm/bin/drupalvm:3
0.1904 4086240 4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/drupalvm/bin/drupalvm.php:13
0.1936 4457704 5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:117
0.1938 4458688 6. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:186
0.1938 4459232 7. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Application.php:787
0.8302 4672720 8. DrupalVmGenerator\Command\Config\GenerateCommand->interact() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Command/Command.php:241
33.4295 4821576 9. DrupalVmGenerator\Command\Config\GenerateCommand->extrasQuestion() phar:///usr/local/bin/drupalvm/src/Command/Config/GenerateCommand.php:288
56.2259 4829688 10. DrupalVmGenerator\Style\DrupalVmStyle->choiceNoList() phar:///usr/local/bin/drupalvm/src/Command/ExtrasTrait.php:40
56.2260 4834392 11. DrupalVmGenerator\Style\DrupalVmStyle->askChoiceQuestion() phar:///usr/local/bin/drupalvm/src/Style/DrupalVmStyle.php:50
56.2260 4834520 12. Symfony\Component\Console\Helper\SymfonyQuestionHelper->ask() phar:///usr/local/bin/drupalvm/src/Style/DrupalVmStyle.php:61
56.2260 4835504 13. Symfony\Component\Console\Helper\QuestionHelper->ask() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/SymfonyQuestionHelper.php:48
56.2260 4836584 14. Symfony\Component\Console\Helper\QuestionHelper->validateAttempts() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:63
56.2260 4836664 15. Symfony\Component\Console\Helper\QuestionHelper->Symfony\Component\Console\Helper{closure}() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:390
56.2260 4836664 16. Symfony\Component\Console\Helper\QuestionHelper->doAsk() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:60
56.2265 4836712 17. Symfony\Component\Console\Helper\QuestionHelper->autocomplete() phar:///usr/local/bin/drupalvm/vendor/symfony/console/Helper/QuestionHelper.php:136