Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kumarkishan070997 opened this issue Dec 13, 2023 · 1 comment
Open

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

kumarkishan070997 opened this issue Dec 13, 2023 · 1 comment

Comments

@kumarkishan070997
Copy link

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();

@wmg-jchipp
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants