You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
ErrorException in profile_basic.twig line 6:
An exception has been thrown during the rendering of a template ("Argument 1 passed to MyBB\Core\Database\Repositories\Eloquent\UserProfileFieldRepository::hasForProfileField() must be an instance of MyBB\Core\Database\Models\User, null given, called in C:\xampp\htdocs\mybbv2\app\Presenters\ProfileField.php on line 135 and defined") in "user.profile_basic" at line 6.
If the user logs in, he can view them just fine.
The text was updated successfully, but these errors were encountered:
I think I see what's wrong. We're getting the currently authenticated user (null for guest) from the guard and trying to fetch its profile fields, rather than fetching the profile fields of the relevant user based on URL.
Yes, the past version of the auth package returned a default User for guests. We need to fix the conditions elsewhere to handle the new default case (null).
I think I see what's wrong. We're getting the currently authenticated user (null for guest) from the guard and trying to fetch its profile field repository.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
An error is thrown:
If the user logs in, he can view them just fine.
The text was updated successfully, but these errors were encountered: