Magento PHP 5.4 PDF invoice Zend error
Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /var/www/vhosts/website/httpdocs/includes/src/Zend_Pdf_FileParserDataSource_File.php on line 41
This an incompatibility issue between PHP Version 5.4.4 and zend Framwork .
Fixed it by change in this function lib/Zend/Pdf/FileParserDataSource.php.
abstract public function __construct();
abstract public function __construct($filePath);
- October 15, 2014 @ 14:40:39 [Current Revision] by admin
- October 15, 2014 @ 14:40:39 by admin
No comments yet.