Skip to main content

Questions tagged [deprecated]

0 votes
2 answers
2k views

PHP Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in "PREPAID_TAXABLE_AMOUNT"=> (($item->getDiscountAmount()) ? abs( round($item->...
Arjun's user avatar
  • 3,648
1 vote
1 answer
314 views

I'm performing an upgrade to Magento 2.4 and the registry class has been deprecated but it's being used in some custom modules, please see the code below: <?php declare(strict_types=1); namespace ...
user8305827's user avatar
3 votes
1 answer
7k views

I am having this issue with magento 2.4.6 custom module and php8.2 This code: public function __construct( \Magento\Framework\App\Helper\Context $context, \Magento\Store\Model\...
G. G.'s user avatar
  • 1,290
1 vote
2 answers
941 views

I am using magento 2.4.6 One of my modules is adding meta tags in catalog. Not my code case 'catalog_product_view': $currentProduct = $this->_registry->registry('...
G. G.'s user avatar
  • 1,290
0 votes
2 answers
4k views

I am facing after an issue after upgrading version magneto 2.4.2 to 2.4.5 When I run this command I got error json_decode(): Passing null to parameter #1 ($json) of type string is deprecated app/code/...
Ravindrasinh Zala's user avatar
1 vote
0 answers
296 views

I have a store in Magento Cloud. There is particular job which is not working properly whenever CRON runs. Please check the error below, Cron Job consumers_runner has an error: Deprecated ...
Sunny Rahevar's user avatar
1 vote
1 answer
172 views

In Magento 2.4.5 installed in my local server i noticed that session_id column from customer_visitor table got deprecated but i can't seem to find any details of documentation for why it got ...
Vishal Rathod's user avatar
2 votes
3 answers
16k views

Can anyone tell me how to resolve the below error. "Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated" I am using magento 2....
Nicola Smith's user avatar
1 vote
1 answer
1k views

Can someone help & explain to me what does escapeUrl is deprecated mean? What I need to do for the changes? thanks <?= /* @escapeNotVerified */ $item->getQtyOrdered() ?> x <a href=&...
Paul Fan's user avatar
  • 658
0 votes
2 answers
878 views

Method setFrom is deprecated Declared in Magento\Framework\Mail\Template\TransportBuilder Is there any alternative?
Hafiz Arslan's user avatar
0 votes
1 answer
378 views

Can Any body explain me Why Magneto used registry and now why we use Services for what purposes instead of Registry.
Rana Zain's user avatar
  • 731
0 votes
1 answer
205 views

I have a 3rd party module that is giving some deprecation issues. Is there any way to replace the class that is having problems in my own module in app/code without moving the whole module from vendor?...
user2239352's user avatar
2 votes
1 answer
2k views

I am facing "Deprecated Functionality: Zend_Http_UserAgent implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize()" Error in magento2.4.4 All ...
Anikesh Shahi's user avatar
2 votes
3 answers
14k views

When i run this command i got error php bin/magento maintenance:enable PHP Deprecated: Return type of phpseclib_mcrypt_filter::filter($in, $out, &$consumed, $closing) should either be ...
Chirag Chikhaliya's user avatar
1 vote
0 answers
277 views

There are lots of functions in magento 2 which are deprecated like Registry. Can anyone give me list of such functions or classes.
Tanmay's user avatar
  • 869

15 30 50 per page