Support » Plugin: Redis Object Cache » Error When trying to get a get a cache not available

  • Resolved hwsiew

    (@hwsiew)


    I was trying to get woocommerce(WC) session data using their api function. I checked the documentation of WC, it try to get the session data from cache if available or return false otherwise. I saw an error when doing so with object cache enabled, but it return false(it supposes to be) when object cache is disable. Error information is as follow.

    Predis\Response\ServerException: ERR invalid expire time in setex in /var/www/html/wp-content/plugins/redis-cache/includes/predis/src/Client.php:370

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Did you set a MAX_TTL? If not, the error is caused by WC or another plugin.

    This is just a drop-in that doesn’t actually cache anything.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.