Pollux I confirm the errors you see, to reproduce it, enable debugging in config.php; to hide it disable debugging.
The error come from register()
method in src\Providers\SearchServiceProvider.php
.
I've found how to fix it by enabling commented lines, but doesn't understand it and why the author commented those lines. @ganuonglachanh Can you enlighten us please ? ?
To fix it, comment those lines :
$value = $this->app->make('GaNuongLaChanh\Search\Driver\MySqlDiscussionTitleDriver');
$this->app->when('GaNuongLaChanh\Search\Gambit\TitleGambit')
->needs('GaNuongLaChanh\Search\Driver\MySqlDiscussionTitleDriver')
->give($value);
And uncomment those lines :
$this->app->singleton('GaNuongLaChanh\Search\Driver\MySqlDiscussionTitleDriver', function ($app) {
return new \GaNuongLaChanh\Search\Driver\MySqlDiscussionTitleDriver();
});