-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Artisan::call('debugbar:clear') returns The command "debugbar:clear" does not exist #1409
Comments
Any updates on this thread? Is the package accepting PRs? |
PR raised for the same: #1409 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
When attempting to use the
Artisan::call('debugbar:clear');
it returns an error "The command "debugbar:clear" does not exist". Yet, if the above is called viaartisan tinker
>Artisan::call('debugbar:clear');
it works the same way likephp debugbar:clear
in the command line.This error only happens when the command is triggered with
Artisan::call('debugbar:clear')
through, for instance, a controller method. A few examples of working calls via controller method:Artisan::call('clockwork:clean');
,Artisan::call('view:clear');
Tested in Laravel 7, 8, 9, and 10, PHP 7.4.x, and 8.1.x. The error persists only as described above.
The text was updated successfully, but these errors were encountered: