laravel-scout-typesense-driver
laravel-scout-typesense-driver copied to clipboard
Undefined property: Laravel\Scout\Builder::$whereIns
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();
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!