Skip to content

Cache driver redis-sentinel not supported with Telescope #29

@georgeboot

Description

@georgeboot

This packages implementation is broken in Laravel 7. When you set your CACHE_DRIVER=redis-sentinel, it breaks with the following error:

  InvalidArgumentException 

  Driver [redis-sentinel] is not supported.

  at vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:110
    106|             if (method_exists($this, $driverMethod)) {
    107|                 return $this->{$driverMethod}($config);
    108|             } else {
    109|                 // dd(get_class($this), debug_backtrace(null, 2));
  > 110|                 throw new InvalidArgumentException("Driver [{$config['driver']}] is not supported.");
    111|             }
    112|         }
    113|     }
    114| 

      +15 vendor frames 
  16  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Laravel\Telescope\TelescopeServiceProvider))

      +5 vendor frames 
  22  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions