vend / php-resque

PHP port of resque (Workers and Queueing)
MIT License
32 stars 9 forks source link

The helper "logger" is not defined #21

Open samirspatel opened 7 years ago

samirspatel commented 7 years ago

On a brand new install when I run ./resque queue:list -v

Exception trace:
 () at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Helper/HelperSet.php:78
 Symfony\Component\Console\Helper\HelperSet->get() at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:599
 Symfony\Component\Console\Command\Command->getHelper() at /Users/samirpatel/htdocs/php-resque/src/Console/Command.php:29
 Resque\Console\Command->getResque() at /Users/samirpatel/htdocs/php-resque/src/Console/QueueListCommand.php:29
 Resque\Console\QueueListCommand->execute() at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:252
 Symfony\Component\Console\Command\Command->run() at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Application.php:889
 Symfony\Component\Console\Application->doRunCommand() at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Application.php:193
 Symfony\Component\Console\Application->doRun() at /Users/samirpatel/htdocs/php-resque/vendor/symfony/console/Symfony/Component/Console/Application.php:124
 Symfony\Component\Console\Application->run() at /Users/samirpatel/htdocs/php-resque/src/Console/ConsoleRunner.php:58
 Resque\Console\ConsoleRunner::run() at /Users/samirpatel/htdocs/php-resque/resque:30

Since $logger is an optional argument in ConsoleRunner, I would not expect it to throw an exception.