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
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
The text was updated successfully, but these errors were encountered:
I managed to fix the issue by publishing the config file(php artisan vendor:publish and selecting the config file for Laravel Debugbar) for the debugbar and set 'gate' to false, but this solution wouldn't work for people who would need the GateCollector.
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
The text was updated successfully, but these errors were encountered: