Magento :: Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct()
I got this fatal error when I'm going to print shipment. There are two solutions given by community.
First Solution:// abstract public function __construct();
/**
* Object destructor. Closes the data source.
*
* May also perform cleanup tasks such as deleting temporary files.
*/
// abstract public function __destruct();
simply change the constructor function of lib/Zend/Pdf/FileParserDataSource.php
abstract public function __construct();
TO
abstract public function __construct($filePath);
Comments