Regression in v3.2.67 - `foreach() argument must be of type array|object, null given`
I really don't want to create a reproduction repo for a GitHub issue. Is anyone else experiencing this when attaching a related record inside a relation manager using a
belongsToMany
relationship?Solution:Jump to solution
nevermind, I posted in the PR: https://github.com/filamentphp/filament/pull/12308
GitHub
Fixes bug when attaching a belongsToMany relation that has an order...
Description
When trying to attach a BelongsToMany relation through the RelationManager where the belongsToMany relation has an orderByPivot method it will give an error in the SQL query.
This used ...
2 Replies
Downgrading to v3.2.66 works fine.
Has something to do with this code: https://github.com/filamentphp/filament/compare/v3.2.66...v3.2.67#diff-4200a45034aecd7fc911ab347e94e54f00176a3845fa9d6448acab85ef63857e
Solution
nevermind, I posted in the PR: https://github.com/filamentphp/filament/pull/12308
GitHub
Fixes bug when attaching a belongsToMany relation that has an order...
Description
When trying to attach a BelongsToMany relation through the RelationManager where the belongsToMany relation has an orderByPivot method it will give an error in the SQL query.
This used ...