Fatal error: Uncaught RuntimeException: A facade root has not been set. in /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:358
Stack trace:
#0 /home/site/wwwroot/app/Exceptions/Handler.php(51): Illuminate\Support\Facades\Facade::__callStatic('hasSession', Array)
#1 [internal function]: App\Exceptions\Handler->App\Exceptions\{closure}(Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#2 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/ReportableHandler.php(45): call_user_func(Object(Closure), Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#3 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(364): Illuminate\Foundation\Exceptions\ReportableHandler->__invoke(Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#4 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(343): Illuminate\Foundation\Exceptions\Handler->reportThrowable(Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#5 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(563): Illuminate\Foundation\Exceptions\Handler->report(Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#6 /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(147): Illuminate\Foundation\Http\Kernel->reportException(Object(Symfony\Component\Finder\Exception\DirectoryNotFoundException))
#7 /home/site/wwwroot/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#8 {main}
thrown in /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 358