Recently i was printing the pdf from magento admin and i got the following error
Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct()
and on searching the issue i have found
change in this function lib/Zend/Pdf/FileParserDataSource.php.
change
Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct()
and on searching the issue i have found
This an incompatibility issue between PHP Version 5.4.4 and zend Framwork .
you can fix it by
abstract public function __construct();
toabstract public function __construct($filePath);
This comment has been removed by the author.
ReplyDelete