Fatal error: Uncaught ReflectionException: Class "env" does not exist in /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php:912
Stack trace:
#0 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): ReflectionClass->__construct('env')
#1 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\Container\Container->build('env')
#2 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(957): Illuminate\Container\Container->resolve('env', Array, true)
#3 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Foundation\Application->resolve('env', Array)
#4 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(942): Illuminate\Container\Container->make('env', Array)
#5 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(1454): Illuminate\Foundation\Application->make('env')
#6 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->offsetGet('env')
#7 /srv/deploy/Major-Tom-Web-App/app/Exceptions/Handler.php(38): Illuminate\Foundation\Application->isLocal()
#8 [internal function]: App\Exceptions\Handler->App\Exceptions\{closure}(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#9 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/ReportableHandler.php(45): call_user_func(Object(Closure), Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#10 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(299): Illuminate\Foundation\Exceptions\ReportableHandler->__invoke(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#11 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(278): Illuminate\Foundation\Exceptions\Handler->reportThrowable(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#12 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(497): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#13 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\Foundation\Http\Kernel->reportException(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#14 /srv/deploy/Major-Tom-Web-App/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#15 {main}
Next Illuminate\Contracts\Container\BindingResolutionException: Target class [env] does not exist. in /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php:914
Stack trace:
#0 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\Container\Container->build('env')
#1 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(957): Illuminate\Container\Container->resolve('env', Array, true)
#2 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\Foundation\Application->resolve('env', Array)
#3 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(942): Illuminate\Container\Container->make('env', Array)
#4 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php(1454): Illuminate\Foundation\Application->make('env')
#5 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->offsetGet('env')
#6 /srv/deploy/Major-Tom-Web-App/app/Exceptions/Handler.php(38): Illuminate\Foundation\Application->isLocal()
#7 [internal function]: App\Exceptions\Handler->App\Exceptions\{closure}(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#8 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/ReportableHandler.php(45): call_user_func(Object(Closure), Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#9 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(299): Illuminate\Foundation\Exceptions\ReportableHandler->__invoke(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#10 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(278): Illuminate\Foundation\Exceptions\Handler->reportThrowable(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#11 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(497): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#12 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\Foundation\Http\Kernel->reportException(Object(Symfony\Component\Finder\Exception\AccessDeniedException))
#13 /srv/deploy/Major-Tom-Web-App/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#14 {main}
thrown in /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 914