<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="http://www.the-mage-expert.com/tag/zend/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Solving the &#8220;Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct()&#8221; error</title>
		<link>http://www.the-mage-expert.com/978/magento-solving-the-fatal-error-declaration-of-zend_pdf_fileparserdatasource_file__construct-error/</link>
		<comments>http://www.the-mage-expert.com/978/magento-solving-the-fatal-error-declaration-of-zend_pdf_fileparserdatasource_file__construct-error/#comments</comments>
		<pubDate>Wed, 15 Apr 2015 08:01:42 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[invoice]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=978</guid>
		<description><![CDATA[Sometimes, when saving an invoice for an order, the following error might come up: 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 To solve that problem, open the lib/Zend/Pdf/FileParserDataSource.php class and change the&#8230;]]></description>
				<content:encoded><![CDATA[<p>Sometimes, when saving an invoice for an order, the following error might come up:</p>
<p><em>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</em></p>
<p>To solve that problem, open the <em>lib/Zend/Pdf/FileParserDataSource.php</em> class and change the declaration of the abstract function <em>__construct</em> like this:</p>
<p>From</p><pre class="crayon-plain-tag">abstract public function __construct();</pre><p></p>
<p>to</p>
<p></p><pre class="crayon-plain-tag">abstract public function __construct($filePath);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/978/magento-solving-the-fatal-error-declaration-of-zend_pdf_fileparserdatasource_file__construct-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
