Julian
Julian

Reputation: 4666

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 

Upvotes: 0

Views: 442

Answers (1)

Gedrox
Gedrox

Reputation: 3612

Basing on http://www.magentocommerce.com/boards/viewthread/279601/ the issue is for Zend before version 1.11.12 for PHP 5.4. In the same article workarounds exist:

Make a copy of the lib/Zend/Pdf/FileParserDataSource.php file. Next, move the copy to app/code/local/Zend/Pdf/FileParserDataSource.php

Change

abstract public function __construct();

To

abstract public function __construct($filePath);

Upvotes: 1

Related Questions