[英]Understanding Fatal error: Declaration of
What does this error mean? 这个错误是什么意思? How should I understand it?
我应该怎么理解?
Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /www/htdocs/nether/http/123factuur/library/Zend/Pdf/FileParserDataSource/File.php on line 167
Basing on http://www.magentocommerce.com/boards/viewthread/279601/ the issue is for Zend before version 1.11.12 for PHP 5.4. 基于http://www.magentocommerce.com/boards/viewthread/279601/,此问题是针对PHP 5.4的1.11.12版之前的Zend。 In the same article workarounds exist:
在同一篇文章中,存在变通办法:
Make a copy of the lib/Zend/Pdf/FileParserDataSource.php file. 复制lib / Zend / Pdf / FileParserDataSource.php文件。 Next, move the copy to app/code/local/Zend/Pdf/FileParserDataSource.php
接下来,将副本移至app / code / local / Zend / Pdf / FileParserDataSource.php
Change 更改
abstract public function __construct();
To 至
abstract public function __construct($filePath);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.