Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File

Problem printing invoices in magento get a Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File Solution: Comment out __construct and __destruct methods in lib/Zend/Pdf/FileParserDataSource.php //    abstract public function __construct(); /** * Object destructor. Closes the data source. * * May also perform cleanup tasks such as deleting temporary files. */ //    abstract public function __destruct();