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
production.ERROR: Class name must be a valid object or a string {"userId":1,"exception":"[object] (Error(code: 0): Class name must be a valid object or a string at /var/www/pelican/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php:793)
[stacktrace]
#0 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php(588): Illuminate\\Database\\Eloquent\\Model->newRelatedInstance()
#1 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php(658): Illuminate\\Database\\Eloquent\\Model->morphToMany()
#2 /var/www/pelican/vendor/spatie/laravel-permission/src/Models/Role.php(82): Illuminate\\Database\\Eloquent\\Model->morphedByMany()
#3 /var/www/pelican/app/Http/Controllers/Api/Client/Servers/ActivityLogController.php(36): Spatie\\Permission\\Models\\Role->users()
When running the same method in tinker console no error is thrown:
The text was updated successfully, but these errors were encountered:
Can't reproduce this anymore, neither on the new client ui nor via the api.
Might be related to the (missing) properties for activity logs, but I will create a separate for that. (#897)
When enabling
Hide admin activies?
the following error is thrown when viewing activity logs:https://github.com/pelican-dev/panel/blob/main/app/Http/Controllers/Api/Client/Servers/ActivityLogController.php#L36
When running the same method in tinker console no error is thrown:
The text was updated successfully, but these errors were encountered: