<?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="https://www.the-mage-expert.com/tag/zend/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Thu, 05 Nov 2026 21:47:58 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Fixing Class Zend_Json not found in Magento 2.4.6</title>
		<link>https://www.the-mage-expert.com/2052/fixing-class-zend-json-not-found-in-magento-2-4-6/</link>
		<comments>https://www.the-mage-expert.com/2052/fixing-class-zend-json-not-found-in-magento-2-4-6/#comments</comments>
		<pubDate>Fri, 05 May 2023 07:49:03 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Laminas]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Magento 2.4.6]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=2052</guid>
		<description><![CDATA[After upgrading your Magento store to 2.4.6, you may encounter the following message: Class &#8220;Zend_Json&#8221; not found in . The problem is that using certain Zend classes is no longer supported in Magento 2.4.6. Replace Zend_Json with the following code:&#8230;]]></description>
				<content:encoded><![CDATA[<p>After upgrading your Magento store to 2.4.6, you may encounter the following message: <strong>Class &#8220;Zend_Json&#8221; not found in <...></strong>. The problem is that using certain Zend classes is no longer supported in Magento 2.4.6. Replace Zend_Json with the following code:</p><pre class="crayon-plain-tag">\Laminas\Json\Json</pre><p></p>
<p>Replace every occurrence of <strong>\Zend_Json</strong> with <strong>\Laminas\Json\Json</strong> to resolve the issue. Make sure that the <strong>laminas/laminas-serializer</strong> library is installed.</p>
<p>Example:</p><pre class="crayon-plain-tag">return \Zend_Json::encode($jsonArray);</pre><p>becomes</p><pre class="crayon-plain-tag">return \Laminas\Json\Json::encode($jsonArray);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/2052/fixing-class-zend-json-not-found-in-magento-2-4-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving the &#8220;Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct()&#8221; error</title>
		<link>https://www.the-mage-expert.com/978/magento-solving-the-fatal-error-declaration-of-zend_pdf_fileparserdatasource_file__construct-error/</link>
		<comments>https://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[]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[invoice]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">https://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>https://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>
		<item>
		<title>Fixing the Zend_Pdf_FileParserDataSource_File::__construct() declaration error</title>
		<link>https://www.the-mage-expert.com/855/fixing-the-zend-pdf-fileparserdatasource-file-construct-declaration-error/</link>
		<comments>https://www.the-mage-expert.com/855/fixing-the-zend-pdf-fileparserdatasource-file-construct-declaration-error/#comments</comments>
		<pubDate>Wed, 15 Apr 2015 07:58:08 +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">https://www.the-mage-expert.com/?p=855</guid>
		<description><![CDATA[The following error may appear when you attempt to print an invoice: 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 resolve it, open the class lib/Zend/Pdf/FileParserDataSource.php and change the declaration of the&#8230;]]></description>
				<content:encoded><![CDATA[<p>The following error may appear when you attempt to print an invoice:</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 resolve it, open the class <em>lib/Zend/Pdf/FileParserDataSource.php</em> and change the declaration of the abstract method <em>__construct</em> as follows:</p>
<p>From</p><pre class="crayon-plain-tag">abstract public function __construct();</pre><p></p>
<p>zu</p>
<p></p><pre class="crayon-plain-tag">abstract public function __construct($filePath);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/855/fixing-the-zend-pdf-fileparserdatasource-file-construct-declaration-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
