Fatal Error Declaration Of Zend Pdf FileParserDataSource File __construct in magento
If you will get this issue on magento while printing invoice pdf
Fatal Error: ‘Declaration of Zend_Pdf_FileParserDatasource_File::__contruct() must be compatible with Zend_Pdf_FileParderDatasource::__construct() in /…/lib/Zend/Pdf/FileParserDataSource/File.php
Then here is the simple solution.
Replace
abstract public function __construct();
to
abstract public function __construct($filePath);
in /lib/Zend/Pdf/FileParserDataSource.php