Enabling REDIS breaks inputs, Call to undefined function utf8_encode() input_model.php on line 332

I haven’t looked into this closely, but if you are still having troubles with this, could you please try backdating php-redis to an earlier version to test?

sudo pecl install redis-3.1.6
sudo redis-cli flushall
sudo service apache2 restart

Whilst we haven’t had any feedback yet, we are aware there were some “code breaking changes” in post v4 versions (their words not mine/ours).

The seerver info shows the Redis SERVER as version 4.0.9, but the Redis extension for PHP (php-redis) is reported as “redis v4.0.2” in the last “PHP - Modules” section.

Something else you might want to try, is commenting out line 332 from input_model.php, it was recently left out during a reshuffle after being introduced to fix an issue with the inputs page not loading quite a while back, it was only fixed again a couple of weeks ago, so emoncms will/should work without the “$row[“description”] = utf8_encode($row[“description”]);” line, but might just fail to show the inputs page in a browser but inputs should be processed ok.