Laravel 8 throw an error
Myassar-AWJ opened this issue · comments
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";