Closed jazzsequence closed 1 year ago
Unable to reproduce this on my local machine when Redis is not enabled (my working assumption up until now), see WIP script in #415.
This exits gracefully with
Error: Warning! PHPRedis extension is unavailable, which is required by WP Redis object cache.
EDIT: #418 clarified I needed to be one step further and now reproducing.
This is fixed in 1.4.2, now live on .org
Since 1.4.0, WP Redis will generate a fatal error when cache functions are accessed from WP-CLI (possibly from runtime as well). This issue does not exist in 1.3.5 (the last 1.3.x release).
Steps to reproduce
wp plugin install wp-redis --activate
wp redis enable
wp redis flush
orwp cache flush
Result:
Tracked internally in CMSP-390