-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReflectionException? #5
Comments
Can you provide the steps you have followed to install the package? It looks a generic Laravel error. Maybe stackoverflow helps! |
Got the same error ! @akaamitgupta did you find a solution for this ? |
Run |
@anmolio Thanks for pointing it. |
Same error here. --no-scripts flag doesn't really fix anything it just doesn't run broken php artisan commands. I deployed my laravel application on production server and got this error. BackgroundI deployed my laravel application on production server and got this error.version: 5.4.27 steps to reproduce
stack tracePHP Fatal error: Uncaught ReflectionException: Class sneaker does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:729 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('sneaker') #1 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\Container\Container->build('sneaker') #2 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): Illuminate\Container\Container->resolve('sneaker') #3 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(728): Illuminate\Container\Container->make('sneaker') #4 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(106): Illuminate\Foundation\Application->make('sneaker') #5 /var/www/app/Exceptions/Handler.php(36): app('sneaker') #6 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(80): App\Exceptions\Handler->report(Object(ReflectionException)) #7 in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729 PHP Fatal error: Uncaught ReflectionException: Class sneaker does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:729 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('sneaker') #1 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\Container\Container->build('sneaker') #2 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): Illuminate\Container\Container->resolve('sneaker') #3 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(728): Illuminate\Container\Container->make('sneaker') #4 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(106): Illuminate\Foundation\Application->make('sneaker') #5 /var/www/app/Exceptions/Handler.php(36): app('sneaker') #6 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(80): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\E in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729 |
@maranovot Can you try to comment the sneaker code and try to run the command again? |
Having the same issue after update my Ubuntu from 16.04 to 17.10 |
Seeing this issue too. Laravel 5.5
Have tried removing and reinstalling using Composer, dumping autoload and cache. |
@kiksy When you face this error please comment the line And try again. Then it will show you the real error behind the it. |
The text was updated successfully, but these errors were encountered: