-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
(Fix) Missing parameter user in subforum #3265
Conversation
Probably would be a better idea to try and figure out why that variable is null instead of working around the error. |
Do you have it eager loaded on
If so, perhaps the |
Yes both are there. Reverted change and tested again with Just forum index that has the issue. |
Ah, if it's a pruned user, the solution is the following: Change ->with(['lastestPoster']) into ->with(['lastestPoster' => fn ($query) => $query->withTrashed()]) |
hmm, changing it in the SubscribedForum.php did not work, Its linking to the user, so its the same result as using |
The benefit is being able to remove UNIT3D-Community-Edition/routes/web.php Line 378 in 83dd506
|
Ahh that makes sense, thanks for explaining. |
No description provided.