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
FatalErrorException: Call to undefined method Barryvdh\Debugbar\Facade::warning() #20
Comments
Excerpt from 'aliases[]
|
Hmm, sorry, cannot really recreate this.
|
No I get:
|
I'm using it in a controller, Do I need a |
Are you in a namespace? If so, you can do \Debugbar::warning('Watch out..'); |
I am not, no. |
And is the debugbar showing? It seems like the ServiceProvider isn't really working, which is strange. |
@jonwhittlestone instead of use DebugBar\DebugBar; do this use Debugbar; That will work |
I was getting the same issue. Adding |
This works |
I had the same issue. When I use autoimport from PHPStorm I get |
Hi
After adding
'Debugbar' => 'Barryvdh\Debugbar\Facade'
to thealiases
array inapp.php
I then try to execute one of my controller actions containing the following:
But I receive the following error:
Have I included the facade incorrectly?
Thanks a lot for you help.
The text was updated successfully, but these errors were encountered: