Open ITwrx opened 4 years ago
i'm getting the same type of error if i try to upgrade my laravel to 6.0 with composer:
...
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Fatal error: Uncaught ReflectionException: Class sneaker does not exist in /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php:803
Stack trace:
#0 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): ReflectionClass->__construct('sneaker')
#1 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): Illuminate\Container\Container->build('sneaker')
#2 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(629): Illuminate\Container\Container->resolve('sneaker', Array)
#3 /laravel6-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(769): Illuminate\Container\Container->make('sneaker', Array)
#4 /laravel6-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(121): Illuminate\Foundation\Application->make('sneaker', Array)
#5 /laravel6-app/app/Exceptions/Handler.php(39): app('snea in /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 805
PHP Fatal error: Uncaught ReflectionException: Class sneaker does not exist in /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php:803
Stack trace:
#0 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(803): ReflectionClass->__construct('sneaker')
#1 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): Illuminate\Container\Container->build('sneaker')
#2 /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(629): Illuminate\Container\Container->resolve('sneaker', Array)
#3 /laravel6-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(769): Illuminate\Container\Container->make('sneaker', Array)
#4 /laravel6-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(121): Illuminate\Foundation\Application->make('sneaker', Array)
#5 /laravel6-app/app/Exceptions/Handler.php(39): app('snea in /laravel6-app/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 805
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255
Try removing the line app('sneaker')->captureException($exception);
in App\Exceptions\Handler::report()
This error is probably not related to this package. You just get an exception, and at the moment it can't send it
hi. trying to run "php artisan config:cache" with L6 i get:
any ideas?
thanks