❓ Support

bug in user model type?


I'm getting several errors when trying to access the forum from within my laravel app:

Waterhole\Models\Channel::allPermitted(): Argument #1 ($user) must be of type ?Waterhole\Models\User, App\Models\User given, called in /var/www/html/vendor/waterhole/core/src/Scopes/PermittedScope.php on line 44


Call to undefined method App\Models\User::preferredLocale()

First error appears after trying to get around the second error by adding a preferredLocale method to App\Models\User.

It seems that in some situations App\Models\User is being used instead of Waterhole\Models\User?

Am I overseeing something or is this a bug?


⁨1⁩ ⁨Comment⁩