[英]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.在从 1.9.1 升级到 1.9.2.4 的 magento 升级期间,我在我的 pdf 生成器类中收到以下错误。 I am using "EaDesign PDF" library and I got the issue on "Mpdf_Mpdfstart" constructor.我正在使用“EaDesign PDF”库,但在“Mpdf_Mpdfstart”构造函数上遇到了问题。
PHP Fatal error: Class 'Mpdf_Mpdfstart' not found in app/code/local/EaDesign/PdfGenerator/Model/Entity/Pdfgenerator.php on line 67. PHP 致命错误:在第 67 行的 app/code/local/EaDesign/PdfGenerator/Model/Entity/Pdfgenerator.php 中找不到类“Mpdf_Mpdfstart”。
$pdf = new Mpdf_Mpdfstart('', $this->pdfPaperFormat(), 8, '', $left, $right, $top, $bottom);
$pdf->shrink_tables_to_fit = 0;
$pdf->useOnlyCoreFonts = true;
return $pdf;
We had the same issue.我们有同样的问题。 Make sure you have the Mpdf library folder in the folder /lib in the Magento root.确保您在 Magento 根目录的 /lib 文件夹中有 Mpdf 库文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.