Hey guys!
After upgrading from 5.5 to 5.6 I am getting some curious errors I've never seen before.
"Fatal error: Uncaught RuntimeException: A facade root has not been set. in vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:218"
I've tried removing all facades from my app config, however it doesnt seem to get until there. The full track:
Fatal error: Uncaught RuntimeException: A facade root has not been set. in \vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:218 Stack trace: #0 \app\Exceptions\Handler.php(47): Illuminate\Support\Facades\Facade::__callStatic('environment', Array) #1 \vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(314): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #2 \vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(122): Illuminate\Foundation\Http\Kernel->reportException(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #3 \public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #4 {main} thrown in \vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php on line 218
I haven't found anything about it. I am not using Lumen, I am using Laravel, upgraded from 5.5 to 5.6 by following the upgrade intstructions.
I managed to see that the error seems to lie somewhere here:
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);