kalaspuff/redis-cache-zend-framework

Fatal error

footcow opened this issue · 2 comments

Hi,

I'm not able to use this Zend_Cache Extented backend for Redis, I get using simply your example this message:

Jan 13 23:45:27 dealer apache2: PHP Fatal error: Call to a member function delete() on a non-object in /var/www/library/redis-cache-zend-framework/Extended/Cache/Backend/Redis.php on line 206

Any idea to solve this issue ?

Other point, in your example for the load part you show a save command. ;)

Thanks per advance for your reply,
Regards.

Heya,

Looks like the transaction start ("multi" call) is somehow failing. I've updated the code to try and fallback to normal mode if transactions is disabled or doesn't work. You can try and pull the latest changes and if we're lucky this will solve the problem.

Oh, and thanks about the typo on the example. :)

Thanks, it's runing perfectly for me.