Answers for "Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp\htdocs\bib2uprod\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:258 Stack trace: #0"

PHP
6

a facade root has not been set laravel

//Remove:
use PHPUnit\Framework\TestCase;

//And replace it with:
use Tests\TestCase;
Posted by: Guest on October-14-2021
1

A facade root has not been set.

use Tests\TestCase;
Posted by: Guest on October-18-2021

Code answers related to "Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp\htdocs\bib2uprod\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:258 Stack trace: #0"

Browse Popular Code Answers by Language