Reputation: 59
I have already removed algolia/algoliasearch-client-php package by using the composer remove
command from my Laravel 8 project, but I am still getting below error while calling delete()
, redirect()
.
Please help me to fix the below error.
Exception Please install the Algolia client: algolia/algoliasearch-client-php.
In the composer.lock file; We have below the message. It can create problem plz confirm also:
"suggest": { "algolia/algoliasearch-client-php": "Required to use the Algolia engine (^2.2)." }
Upvotes: 1
Views: 3761
Reputation: 50531
If you are not going to be using algolia anymore then you don't need scout most likely. Your models are still setup to use scout which will still be looking for the algolia drivers.
Perhaps you want to remove Searchable
from your Models if you are not planning on using any of these services for search indexing.
Upvotes: 4