After a fresh app install, everything works, but in event log I’ve got this message (every minute):
Symfony\Component\ErrorHandler\Error\FatalError: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable. in ~/vendor/laravel/framework/src/Illuminate/Container/Container.php:1103
Any ideas ?
Thanks
daft
May 14, 2024, 1:25am
#2
Hey @cyril-design
What PHP and Laravel version are you running?
Hi!
I tried with fresh install and idem…
→ Laravel Framework 9.52.16
→ October CMS version: v3.6.18
→ Laravel Valet 4.0.2
→ Php 8.2.15
daft
May 15, 2024, 9:48am
#4
Hmm, I can’t seem to reproduce it. If possible, can you share the full stack trace from the log file?
Same as Laravel Intellisense VSCode plugin error:
Symfony\Component\ErrorHandler\Error\FatalError: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable. in /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php:1103
Stack trace:
#0 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php(898): Illuminate\Container\Container->notInstantiable('Illuminate\\Cont...')
#1 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php(770): Illuminate\Container\Container->build('Illuminate\\Cont...')
#2 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(856): Illuminate\Container\Container->resolve('Illuminate\\Cont...', Array, true)
#3 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php(706): Illuminate\Foundation\Application->resolve('Illuminate\\Cont...', Array)
#4 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->make('Illuminate\\Cont...', Array)
#5 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php(1431): Illuminate\Foundation\Application->make('Illuminate\\Cont...')
#6 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(222): Illuminate\Container\Container->offsetGet('Illuminate\\Cont...')
#7 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(193): Illuminate\Support\Facades\Facade::resolveFacadeInstance('Illuminate\\Cont...')
#8 /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(332): Illuminate\Support\Facades\Facade::getFacadeRoot()
#9 Command line code(1): Illuminate\Support\Facades\Facade::__callStatic('abilities', Array)
#10 {main}
thrown in /Users/me/Sites/myoctober/vendor/laravel/framework/src/Illuminate/Container/Container.php:1103
Stack trace:
#0 {main}
My older October apps (with same config) are well.
Thanks for your time (it’s not an emergency
Ok. Sorry, it’s the Laravel Extra Intellisense extension in Visual Code which cause that…
1 Like