Closed jediefe closed 3 years ago
I spent some time to try to help investigate the issue. From what I could find so far is that it seems to me that $member->squads
is not implemented in the SquadMember
model, thus returning null
. I hope this is useful for you in any way.
exact, I spot it when you open the issue. it will be addressed on march rollup.
Coolio, merci beaucoup ;-)
Call to a member function where() on null at /var /www/seat4/vendor/eveseat/web/src/Observers/SquadMemberObserver.php:61
Users are kicked from the squad but keep the attached roles. This is problematic behaviour. Problem causing code snippet: https://github.com/eveseat/web/blob/6e910d0ddb763e85dc43205e42930c1469361a43/src/Observers/SquadMemberObserver.php#L61