laravel-scout-typesense-driver icon indicating copy to clipboard operation
laravel-scout-typesense-driver copied to clipboard

Undefined property: Laravel\Scout\Builder::$whereIns

Open kumarkishan070997 opened this issue 1 year ago • 1 comments
trafficstars

Getting this error while running a simple query. There is already a issue logged with this same. But its closed without any answer. That's why i'm creating this issue. If anyone can suggest any answer ASAP would be helpful

Undefined property: Laravel\Scout\Builder::$whereIns

Here is my query

$result = Todo::search('test')->get();

kumarkishan070997 avatar Dec 13 '23 13:12 kumarkishan070997

I faced a similar issue, and the root cause was that one of my other packages had laravel/scout version locked to 8.x.

Here's the solution that worked for me:

Check if any of your packages are locking laravel/scout to version 8.x. If so, remove or update those dependencies to allow upgrading laravel/scout. Update laravel/scout to version 9

Give this a try and see if it fixes the issue for you. Best regards!

wmg-jchipp avatar Jun 08 '24 03:06 wmg-jchipp