mercredi 16 juin 2021

APP_ENV=dev causes A facade root has not been set

so i have updated the APP_ENV=dev the original APP_ENV=local, now it is my assumption that the following change causes me with the following error

A facade root has not been set

laravel.ERROR: A facade root has not been set. {"exception":"[object] (RuntimeException(code: 0): A facade root has not been set. at /var/app/current/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:236) [stacktrace] #0 /var/app/current/app/Exceptions/Handler.php(80): Illuminate\Support\Facades\Facade::__callStatic('check', Array) #1 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(314): App\Exceptions\Handler->report(Object(GuzzleHttp\Exception\ConnectException)) #2 /var/app/current/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(118): Illuminate\Foundation\Http\Kernel->reportException(Object(GuzzleHttp\Exception\ConnectException)) #3 /var/app/current/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #4 {main} "}

Not i already run PHP artisan config:cahce and PHP artisan cache:clear



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire