Reputation: 39
During magento upgrade from 1.9.1 to upgrade 1.9.2.4, I got the following error in my pdf generator class. I am using "EaDesign PDF" library and I got the issue on "Mpdf_Mpdfstart" constructor.
PHP Fatal error: Class 'Mpdf_Mpdfstart' not found in app/code/local/EaDesign/PdfGenerator/Model/Entity/Pdfgenerator.php on line 67.
$pdf = new Mpdf_Mpdfstart('', $this->pdfPaperFormat(), 8, '', $left, $right, $top, $bottom);
$pdf->shrink_tables_to_fit = 0;
$pdf->useOnlyCoreFonts = true;
return $pdf;
Upvotes: 1
Views: 231
Reputation: 1
We had the same issue. Make sure you have the Mpdf library folder in the folder /lib in the Magento root.
Upvotes: 0