@evgenin
Uncaught RuntimeException: A facade root has not been set.
Подскажите, на новом сервере не запускается laravel 9, может какого расширения надо добавить?
Ubuntu 18
php 8.1
Fatal error: Uncaught RuntimeException: A facade root has not been set. in
/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:335 Stack trace: #0
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(18): Illuminate\Support\Facades\Facade::__callStatic() #1
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke() #2
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(623): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths() #3
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(554): Illuminate\Foundation\Exceptions\Handler->renderHttpException() #4
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(460): Illuminate\Foundation\Exceptions\Handler->prepareResponse() #5
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(377): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() #6
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(493): Illuminate\Foundation\Exceptions\Handler->render() #7
/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(138): Illuminate\Foundation\Http\Kernel->renderException() #8 /var/www/html/public/index.php(59): Illuminate\Foundation\Http\Kernel->handle() #9 {main} thrown in
/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 335
Решения вопроса 0
Ответы на вопрос 1
@PiloTeZ
Если не получится исправить. Попробуйте установить проект с нуля, заново. Следуя точно по инструкции, возможно что-то упустили.
Или попробуйте альтернативный вариант установки
Или попробуйте альтернативный вариант установки