Skip to content

Laravel 8 throw an error #21

@Myassar-AWJ

Description

@Myassar-AWJ

the package depend on user model which is located in past version in app folder but not the directory is changed we need to edit the
user-activity.php
'model' => [
'user' => "App\Models\User"
],

and
vendor\haruncpi\laravel-user-activity\src\Controllers\ActivityController.php

use App\Models\User;
private $userInstance = "\App\Models\User";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions