Tag

Magento Depreciated class

Browsing

When we upgrade Magento 2.4.6 then we might get deprecated Zend classes errors in custom modules because of some Zend class removed in Magento 2.4.6. In this blog I added some depreciated Zend classes alternative to fix those error. We have some alternative of Zend class are Laminas classes and Magento classesHere is list of alternative of Zend classes.\Zend_Http_Client::POST => \Laminas\Http\Request::METHOD_POST\Zend_Http_Client::GET => \Laminas\Http\Request::METHOD_GET\Zend_Json => \Laminas\Json\Json\Zend_Filter => \Magento\Framework\Filter\FilterInput\Zend_Http_Client => \Laminas\Http\Request\Zend_Http_Response => \Laminas\Http\Response\Zend_Validate => \Laminas\Validator\Zend_Filter_Input => \Magento\Framework\Filter\FilterInput\Zend_Json_Exception…