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 Jun 1, 2019. It is now read-only.
I am using it in UserController. I put use Spatie\Activitylog\Models\Activity it in very first line and now it is fetching the records in one of the function.
But now the Activity::log('logged out'); which is also in same UserController (logout method) is not working. It shows Call to undefined method Illuminate\Database\Query\Builder::log().
Hello,
I am able to store the activity log without any issue. But when i am trying to fetch it by following lines
$latestActivities = Activity::with('user')->latest()->limit(100)->get();
I am getting issue as below:
Call to undefined method Spatie\Activitylog\ActivitylogSupervisor::with()
Can you please help??
The text was updated successfully, but these errors were encountered: