Fatal error: Uncaught RuntimeException: A facade root has not been set. in /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:220 Stack trace: #0 /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(397): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array) #1 /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(374): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths() #2 /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(289): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #3 /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(188): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)) #4 /home/api.21vek.by/app/Exce in /home/api.21vek.by/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 220