You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 via artisan tinker > Artisan::call('debugbar:clear'); it works the same way like php 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:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.
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: