magento打印invoice的时候出现Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in C:\xampp\apps\magento\htdocs\lib\Zend\Pdf\FileParserDataSource\File.php on line 41错误
解决方法:1,打开lib/Zend/Pdf/FileParserDataSource.php
2,将abstract public function __construct();改为abstract public function __construct($filePath);
(责任编辑:最模板) |