Fatal error: Uncaught RuntimeException: A facade root has not been set. in /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:258 Stack trace: #0 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(18): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array) #1 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(598): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke() #2 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(579): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths() #3 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(490): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #4 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(356): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #5 /srv/deploy/Major-Tom-Web-App/app/Exceptions/Handler.php(104): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(RuntimeException)) #6 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(427): App\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(RuntimeException)) #7 /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Foundation\Http\Kernel->renderException(Object(Illuminate\Http\Request), Object(RuntimeException)) #8 /srv/deploy/Major-Tom-Web-App/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #9 {main} thrown in /srv/deploy/Major-Tom-Web-App/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 258