-
-
Notifications
You must be signed in to change notification settings - Fork 173
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 #105
Comments
Same here :( |
Did you override the configuration? |
Same Error! |
Can not do anything at controller, not at blade. Any suggestions? |
@shohanean please provide some code snippet so I can suggests what is wrong |
there is nothing special code snippet we just following the simple install step - https://github.com/laravolt/avatar#output-as-base64 |
If so, could yo provide the full stack trace of the error here? |
Yes nothing special code |
@shohanean full error message please 😄 |
I just require the package, then published the vendor. |
Error |
In line: |
So it is related to config file: // Initial generator class
'generator' => \Laravolt\Avatar\Generator\DefaultGenerator::class, Could you confirm that you have that entry in config/laravolt/avatar.php ? Or, you can check using |
I'm having the same issue here. The output of |
Solved by running |
I solved this just like @dieume-n . Perhaps the documentation should remind us to rebuild the config cache. |
I am getting error of - Class name must be a valid object or a string
when i try to use it in blade.php
The text was updated successfully, but these errors were encountered: