-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[5.5] WhereHas method blows up on PHP 7.3 when explicitly specifying an operator #25192
Comments
This will be fixed in the next release. |
Sweet, thank you. |
That's running clean now. |
This was referenced Jan 16, 2019
Just: composer update |
you ruined my project. @ahlechandre |
git checkout composer.lock
composer install |
@dyusip Thanks, it worked for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Running a whereHas method off a hasMany relation blows up with:
ErrorException: compact(): Undefined variable: operator in file /var/www/testproject/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php on line 1243
Steps To Reproduce:
Looking at the chunk of code (addWhereExistsQuery in Query/Builder.php), I'm not seeing where $operator ever got defined.
The text was updated successfully, but these errors were encountered: