1

I work in the Magento 2.1.6 right now in optimization process I installed Redis server with this instruction http://devdocs.magento.com/guides/v2.0/config-guide/redis/config-redis.html But try cache clean (php ./bin/magento cache:flush ) in my store i get this error Redis::pipeline(): Already in pipeline mode.

enter image description here

1 Answer 1

1

This is Credis bug: 2 times calling the pipeline method. Please, patche the file vendor/colinmollenhour/credis/Client.php by the code:

// Proxy pipeline mode to the phpredis library
            if($name == 'pipeline' || $name == 'multi') {
                if($this->isMulti) {
                    return $this;
                } else {
                    $this->isMulti = TRUE;
                    $this->redisMulti = call_user_func_array(array($this->redis, $name), $args);
                    //CUSTOM CODE!!!
                    //Credis bug fix: 2 times pipeline() calls below.
                    return $this;
                    //custom code ends
                }
            }

in lines 1013-1025

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.