cakephp / elastic-search

Elastic search datasource for CakePHP
Other
88 stars 53 forks source link

Unknown method "getRepository" #170

Closed agarzon closed 5 years ago

agarzon commented 6 years ago

Just updated this plugin via composer from 1.0 to 1.5 and everything broke.

I get: Unknown method "getRepository"

I had to return to 1.0 and everything works again.

Running cakephp 3.5

lorenzo commented 6 years ago

We are in the process of making 1.5 compatible with cake 3.6+

saeideng commented 6 years ago

getRepository added in cake 3.6

saeideng commented 6 years ago

and we should update min version probably https://github.com/cakephp/elastic-search/blob/fbc4df5a3106bcc727703b66d5c442fbcadcaa48/composer.json#L27