-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When using the composer robo uli command on CHQ.com a TypeError is returned.
To Reproduce
Steps
- clone the CHQ. com repo
- setup and start lando
composer robo uli- See error:
[Exec] Running lando drush "user:login" --uri "http://chromatichq.lndo.site" in D:\htdocs\chromatichq.com/web/sites/default
TypeError: get_class(): Argument #1 ($object) must be of type object, null given in get_class() (line 287 of /app/vendor/drush/drush/src/Boot/DrupalBoot8.php).
[error] TypeError: get_class(): Argument #1 ($object) must be of type object, null given in get_class() (line 287 of /app/vendor/drush/drush/src/Boot/DrupalBoot8.php) #0 /app/vendor/drush/drush/src/Boot/DrupalBoot8.php(287): get_class(NULL)
#1 /app/vendor/drush/drush/src/Boot/DrupalBoot8.php(250): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands(Object(Drush\Boot\BootstrapManager))
#2 /app/vendor/drush/drush/src/Boot/BootstrapManager.php(291): Drush\Boot\DrupalBoot8->bootstrapDrupalFull(Object(Drush\Boot\BootstrapManager), NULL)
#3 /app/vendor/drush/drush/src/Commands/core/LoginCommands.php(51): Drush\Boot\BootstrapManager->doBootstrap(5)
#4 [internal function]: Drush\Commands\core\LoginCommands->login('', Array)
#5 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
#6 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#7 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#8 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(350): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#9 /app/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /app/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /app/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /app/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /app/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /app/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /app/vendor/drush/drush/drush.php(72): Drush\Runtime\Runtime->run(Array)
#16 /app/vendor/drush/drush/drush(4): require('/app/vendor/dru...')
#17 /app/vendor/bin/drush(117): include('/app/vendor/dru...')
#18 {main}.
TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /app/vendor/drush/drush/src/Boot/DrupalBoot8.php on line 287 #0 /app/vendor/drush/drush/src/Boot/DrupalBoot8.php(287): get_class(NULL)
#1 /app/vendor/drush/drush/src/Boot/DrupalBoot8.php(250): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands(Object(Drush\Boot\BootstrapManager))
#2 /app/vendor/drush/drush/src/Boot/BootstrapManager.php(291): Drush\Boot\DrupalBoot8->bootstrapDrupalFull(Object(Drush\Boot\BootstrapManager), NULL)
#3 /app/vendor/drush/drush/src/Commands/core/LoginCommands.php(51): Drush\Boot\BootstrapManager->doBootstrap(5)
#4 [internal function]: Drush\Commands\core\LoginCommands->login('', Array)
#5 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
#6 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#7 /app/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#8 /app/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(350): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#9 /app/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /app/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /app/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /app/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /app/vendor/drush/drush/src/Runtime/Runtime.php(124): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /app/vendor/drush/drush/src/Runtime/Runtime.php(51): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /app/vendor/drush/drush/drush.php(72): Drush\Runtime\Runtime->run(Array)
#16 /app/vendor/drush/drush/drush(4): require('/app/vendor/dru...')
#17 /app/vendor/bin/drush(117): include('/app/vendor/dru...')
#18 {main}
[warning] Drush command terminated abnormally.
[Exec] Exit code 1 Time 6.781s
[notice] Stopping on fail. Exiting....
[error] Exit Code: 1
[error] in task Robo\Task\Base\Exec
TypeError: get_class(): Argument #1 ($object) must be of type object, null given in get_class() (line 287 of /app/vendor/drush/drush/src/Boot/DrupalBoot8.php).
Environment
- Operating system and version: Windows 10 (but it seems unlikely this is the root-cause)
Expected Behavior
A valid uli link to be returned.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working