Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Unknown connection name in queues #39750

Closed
kirya-dev opened this issue Nov 24, 2021 · 0 comments
Closed

Unknown connection name in queues #39750

kirya-dev opened this issue Nov 24, 2021 · 0 comments

Comments

@kirya-dev
Copy link

When im calling
php artisan queue:work databse

Get this:

   ErrorException 

  Trying to access array offset on value of type null

  at vendor/laravel/framework/src/Illuminate/Queue/QueueManager.php:156
    152▕     protected function resolve($name)
    153▕     {
    154▕         $config = $this->getConfig($name);
    155▕ 
  ➜ 156▕         return $this->getConnector($config['driver'])
    157▕                         ->connect($config)
    158▕                         ->setConnectionName($name);
    159▕     }
    160▕ 

      +18 vendor frames 
  19  artisan:14
      Illuminate\Foundation\Console\Kernel::handle()

I expect more readable error message.
For ex: Given databse unknown connection. Allowed: database, sync, redis....

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants