mercredi 27 avril 2022

i got face a problem dompdf install problem in laravel

after rrun this composer require barryvdh/laravel-dompdf. then i registerd on bootstrap/app.php -> $app->register(\Barryvdh\DomPDF\ServiceProvider::class); then i tried to publish php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider". then i got big error which bellow.

PHP Fatal error: Uncaught ReflectionException: Class config does not exist in G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php:809 Stack trace: #0 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(809): ReflectionClass->__construct('config') #1 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(691): Illuminate\Container\Container->build('config') #2 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(796): Illuminate\Container\Container->resolve('config', Array, true) #3 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(637): Illuminate\Foundation\Application->resolve('config', Array) #4 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(781): Illuminate\Container\Container->make('config', Array) #5 G:\web dev in G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 811

Fatal error: Uncaught ReflectionException: Class config does not exist in G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php:809 Stack trace: #0 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(809): ReflectionClass->__construct('config') #1 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(691): Illuminate\Container\Container->build('config') #2 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(796): Illuminate\Container\Container->resolve('config', Array, true) #3 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php(637): Illuminate\Foundation\Application->resolve('config', Array) #4 G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(781): Illuminate\Container\Container->make('config', Array) #5 G:\web dev in G:\web development all classes\simba2\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 811.

now when i try to php artisan ser this showing me the same big error

Advace may any one help please



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/H5deGSV
via IFTTT

Aucun commentaire:

Enregistrer un commentaire