Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Webklex\PDFMerger\Providers\PDFMergerServiceProvider' not found #26

Open
aldiazhar opened this issue Jul 29, 2022 · 1 comment
Open

Comments

@aldiazhar
Copy link

Hi guys, I got this error but only in production. Package works fine on the staging or local.

[2022-07-29 15:24:01] production.ERROR: Class 'Webklex\PDFMerger\Providers\PDFMergerServiceProvider' not found {"exception":"[object] (Error(code: 0): Class 'Webklex\PDFMerger\Providers\PDFMergerServiceProvider' not found at /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:208)
[stacktrace]
#0 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(144): Illuminate\Foundation\ProviderRepository->createProvider()
#1 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(61): Illuminate\Foundation\ProviderRepository->compileManifest()
#2 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(649): Illuminate\Foundation\ProviderRepository->load()
#3 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
#4 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap()
#5 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#6 /var/www/bpmb/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\Foundation\Console\Kernel->bootstrap()
#7 /var/www/bpmb/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
#8 {main}
"}

@Webklex
Copy link
Owner

Webklex commented Aug 9, 2022

Hi @aldiazhar ,
have you updated the dependency inside your production environment?

Perhaps you have to run:

composer update

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants