XAdmin
XAdmin copied to clipboard
Fatal error: Uncaught ReflectionException: Class log does not exist
error:
PHP Fatal error: Uncaught ReflectionException: Class log does not exist in /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php:741
Stack trace:
#0 /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(741): ReflectionClass->__construct('log')
#1 /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('log', Array)
#2 /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('log', Array)
#3 /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(842): Illuminate\Foundation\Application->make('log')
#4 /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(805): Illuminate\Container\Container->resolveClass(Object(ReflectionParam in /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741
Fatal error: Uncaught ReflectionException: Class log does not exist in /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741
ReflectionException: Class log does not exist in /Users/qloog/Sites/project/laravel5-backend/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 741
reason: services.json have some contents that haved deleted or updated
solution: delete file bootstrap/cache/services.json
enjoy it. 💃