https://www.youtube.com/watch?v=ksX0_QXmpuk
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);
}

Facebook Comments Box

Leave a Reply


Notice: Function wp_add_inline_style was called incorrectly. Do not pass <style> tags to wp_add_inline_style(). Please see Debugging in WordPress for more information. (This message was added in version 3.7.0.) in /home/googlnrf/public_html/wp-includes/functions.php on line 5905