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

Fatal error: Uncaught Error: Class "PDFMerger" not found #66

Open
softkeymatrix opened this issue Mar 24, 2023 · 1 comment
Open

Fatal error: Uncaught Error: Class "PDFMerger" not found #66

softkeymatrix opened this issue Mar 24, 2023 · 1 comment

Comments

@softkeymatrix
Copy link

I have tried many times but getting an error message:

Fatal error: Uncaught Error: Class "PDFMerger" not found in D:\xampp\htdocs\projects\test\pdfmerge\sample.php:4 Stack trace: #0 {main} thrown in D:\xampp\htdocs\projects\test\pdfmerge\sample.php on line 4

Testing on localhost

So please help me to fix this.

@MiBaWheels
Copy link

Hey,

Idk, if you still need a answer.

// Instead of include
require_once('PDFMerger.php');
// Add this line for include the Class
use PDFMerger\PDFMerger;
// use the Class
$pdf = new PDFMerger;

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