$dal = new ElasticsearchDAL($this, app(Client::class), app(EventEmitter::class));
по факту даже
$client = app(Client::class);
Throwable:Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #0 [ <required> $retries ]] in class Elasticsearch\Transport
#0 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(817): Illuminate\Container\Container->resolveNonClass(Object(ReflectionParameter))
#1 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(788): Illuminate\Container\Container->getDependencies(Array, Array)
#2 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(644): Illuminate\Container\Container->build('Elasticsearch\\T...', Array)
#3 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\Container\Container->make('Elasticsearch\\T...', Array)
#4 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(864): Illuminate\Foundation\Application->make('Elasticsearch\\T...')
#5 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(819): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#6 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(788): Illuminate\Container\Container->getDependencies(Array, Array)
#7 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(644): Illuminate\Container\Container->build('Elasticsearch\\C...', Array)
#8 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(709): Illuminate\Container\Container->make('Elasticsearch\\C...', Array)
#9 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(106): Illuminate\Foundation\Application->make('Elasticsearch\\C...', Array)
#10 /var/www/app/Model/Abs/AbsElasticOnlyModel.php(19): app('Elasticsearch\\C...')
фабрика чёт не работает. сталкивался кто?
ларку обновитл с какой до какой?
ПАраметр $retries есть?
Обсуждают сегодня