Juned Ahmed
Juned Ahmed

Reputation: 39

Magento 1.9.1 after upgrade 1.9.2.4 PHP Fatal error: Class 'Mpdf_Mpdfstart' not found

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

Answers (2)

user7957824
user7957824

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

codedge
codedge

Reputation: 5164

As the extension EADesign_PdfGenerator is a paid extension with no open source code you need to contact EADesign directly and ask for support. You paid for the extension so they need to give you support.

Upvotes: 1

Related Questions