jeremykenedy / laravel-logger

An out the box activity logger for your Laravel or Lumen application. Laravel logger is an activity event logger for your laravel application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. This package is easily configurable and customizable. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, and 7+
MIT License
578 stars 120 forks source link

Class name must be a valid object or a string #125

Closed Emmanavimex closed 2 years ago

Emmanavimex commented 2 years ago

am get the error Class name must be a valid object or a string when i try to Login, on this line

`// Validation Instance

    $validator = Validator::make($data, config('laravel-logger.defaultActivityModel')::rules());

`

jeremykenedy commented 2 years ago

Publish the config file and and clear your cache

Emmanavimex commented 2 years ago

what is command of publish

Emmanavimex commented 2 years ago

@jeremykenedy , Kindly can you assist me on my code just to show me like how to usage, because i think that i missed something

i like your package,

Emmanavimex commented 2 years ago

example am facing this error again

Target class [App\Http\Controllers\jeremykenedy\LaravelLogger\App\Http\Controllers\untaggedController] does not exist.

am new in laravel

Emmanavimex commented 2 years ago

kindly can you assist me on Usage ?

jeremykenedy commented 2 years ago

Check out the readme

Emmanavimex commented 2 years ago

when i clear the config this error is gone but when i logout again it return the error again

Class name must be a valid object or a string

it repeated when i login and logout,

I have this project in GitHub, i can able to give access, and help to check

Emmanavimex commented 2 years ago

I resolved thanks