fbpx

The each function is deprecated. This message will be suppressed on further calls WordPress Magento

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

The each function is deprecated. This message will be suppressed on further calls WordPress Magento

The each function is deprecated. This message will be suppressed on further calls WordPress Magento.

The reason why we did this tutorial is that we recieved two questions from our subscribers one said

please solved this error… Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\wamp64\www\Magento2\vendor\colinmollenhour\cache-backend-file\File.php on line 81

Then the second one asked Hendrik Silaban 1 month ago hello my friends, can you help me about this error Message: The each() function is deprecated. This message will be suppressed on further calls Filename: include/style.cls.php Line Number: 790 this is line number 790

For fpdi.php there is a code

while (list($k, $v) = each($value[1])) {
   $this->_straightOut($k . ' ');
   $this->_writeValue($v);
}

Replace it with the below codes

foreach($value[1] as $k=>$v) {
   $this->_straightOut($k . ' ');
   $this->_writeValue($v);
}

Thando Gama

Leave a Reply

Your email address will not be published. Required fields are marked *

Next Post

Pitso Mosimane Was Forced Out At Sundowns | Junior Khanye Revealed

Thu Oct 1 , 2020
Spread the love           Pitso Mosimane Was Forced Out At Sundowns | Junior Khanye Revealed. Pitso Mosimane Was Forced Out At Sundowns. Pitso Mosimane resigned after getting a new job in Egypt , this was something which left most of Mamelodi Sundowns fans in tears. “The contract with Mr Pitso Mosimane, South […]
Pitso Mosimane resigned after getting a new job in Egypt , this was something which left most of Mamelodi Sundowns fans in tears