Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Emmanavimex opened this issue Oct 4, 2021 · 8 comments
Closed

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

Emmanavimex opened this issue Oct 4, 2021 · 8 comments

Comments

@Emmanavimex
Copy link

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
Copy link
Owner

Publish the config file and and clear your cache

@Emmanavimex
Copy link
Author

what is command of publish

@Emmanavimex
Copy link
Author

@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
Copy link
Author

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
Copy link
Author

kindly can you assist me on Usage ?

@jeremykenedy
Copy link
Owner

Check out the readme

@Emmanavimex
Copy link
Author

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
Copy link
Author

I resolved thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants