algolia / scout-extended

Scout Extended: The Full Power of Algolia in Laravel
https://www.algolia.com/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended/
MIT License
400 stars 86 forks source link

Incompatible with `laravel/scout` v10.11.6 #347

Open jayan-blutui opened 2 days ago

jayan-blutui commented 2 days ago

Description

The latest version of Laravel Scout v10.11.6 has the following error:

Class Algolia\ScoutExtended\Engines\AlgoliaEngine contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Laravel\Scout\Engines\AlgoliaEngine::performSearch, Laravel\Scout\Engines\AlgoliaEngine::deleteIndex)

A possible fix for this issue is to use the new class called Algolia3Engine which was created in https://github.com/laravel/scout/pull/872 instead of the AlgoliaEngine which is now an abstract class.

Steps To Reproduce

Update to latest version of Laravel Scout.

CNSam commented 1 day ago

Can confirm this issue too

kaioken commented 1 day ago

Same, can confirm this issue too

jonathan-bird commented 1 day ago

+1 on this issue, running same versions including v3.x of Algolia client

ericlbarnes commented 8 hours ago

Came to report the same. 😅

Eyad-Bereh commented 8 hours ago

Today I've just had the same issue with my Laravel application, the way I ended up solving the issue is by hardcoding the version of laravel/scout inside the composer.json file to 10.11.5:

"laravel/scout": "10.11.5"
kaioken commented 8 hours ago

@Eyad-Bereh same here