laravel-debugbar icon indicating copy to clipboard operation
laravel-debugbar copied to clipboard

Cannot add GateCollector on Laravel Debugbar

Open Naomikho opened this issue 7 months ago • 1 comments

Exception: Cannot add GateCollector on Laravel Debugbar: Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable while building [Barruvdh\Debugbar\DataCollector\GateCollector]. vendor/barryvdh/.laravel-debugbar/src/LaravelDebugbar.php#663

I just updated Laravel version to v11.18.0 and updated other packages as well, is there any possible reason for this exception? The exception did not occur before the package updates. I am currently using v3.13.5 for the debug bar. I was also working on another project that is using similar package versions but the error did not occur for some reason

Naomikho avatar Jul 26 '24 11:07 Naomikho