-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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.8] Argument 1 passed to Illuminate\Database\Query\Builder::cleanBindings() must be of the type array, null given #28251
Comments
It seems to me like a unintentional change, because it's not regarding every other where statement where it's just assumed that '=' is the operator if no operator is specified. Could this possibly be related to the changes made to the where here: #28192 |
Lucky i am using $this->wherePivot($column, '=', $value) |
@ankurk91 I fail to see how this is contributing to this core issue. |
This issue has arisen again in Laravel Version 5.8.23 |
@mjhorninger What query causes this error for you? |
So it's a nested set of models, and needs to be refactored desperately. |
The bottom query that fails is: |
What's the last working Laravel version? |
What's the result of |
dd($groupOfPairIds) gives an array - |
Did you see my other question?
|
I did. Unfortunately, I got sucked into a meeting. I'm peeling back the onion based on our upgrade path and testing with 5.8.13 now |
I'm all the way back at 5.8.0 which means this piece of functionality does not get tested very often. I'm still seeing the issue. |
Description:
Just this morning upgraded from 5.8.11 to 5.8.12 which completely broke my application on the wherePivot part.
Broken:
Fixed:
Has this been done intentionally? I cannot find anything regarding this change inside the core update. My code has not changed since the upgrade from 5.8.11 -> 5.8.12
The text was updated successfully, but these errors were encountered: