Answer the question
In order to leave comments, you need to log in
Why is no laravel project working?
Hello! I decided to update homestead and got an error
fatal error: Uncaught RuntimeException: A facade root has not been set.
[2019-05-26 10:10:31] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [] is not defined. at /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:168)
[stacktrace]
#0 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(102): Illuminate\\Log\\LogManager->resolve(NULL)
#1 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(90): Illuminate\\Log\\LogManager->get(NULL)
#2 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(500): Illuminate\\Log\\LogManager->driver()
#3 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\\Log\\LogManager->error('Unable to load ...', Array)
#4 /home/vagrant/code/ezmoney/app/Exceptions/Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(Exception))
#5 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\\Exceptions\\Handler->report(Object(Exception))
#6 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(Exception))
#7 /home/vagrant/code/ezmoney/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#8 {main}
"}
[2019-05-26 10:10:31] laravel.ERROR: Unable to load the "app" configuration file. {"exception":"[object] (Exception(code: 0): Unable to load the \"app\" configuration file. at /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:68)
[stacktrace]
#0 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php(39): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->loadConfigurationFiles(Object(Illuminate\\Foundation\\Application), Object(Illuminate\\Config\\Repository))
#1 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(210): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->bootstrap(Object(Illuminate\\Foundation\\Application))
#2 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#3 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#4 /home/vagrant/code/ezmoney/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#5 /home/vagrant/code/ezmoney/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#6 {main}
"}
Answer the question
In order to leave comments, you need to log in
Removed homestead and installed valet. Everything is working.
In bootstrap/app.php uncomment $app->withFacades();
Learn to use composer: maybe you didn't fix minor dependencies in composer.lock and started updating.
Offtopic, I’ll say that using non-LTS versions of ubuntu is bad, they are not for you, as an end user, but for those who work on ubuntu or are fans of fresh (but they usually sit on arch).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question