Redis flush DB not working

Please report bugs here, please be very detailed in your bug reports. If you've come up with some code to fix the bug, please post it here.
Post Reply
User avatar
prometh
Advanced
Posts: 169
Joined: Thu Aug 09, 2012 19:25
Contact:

Redis flush DB not working

Post by prometh » Mon Mar 14, 2016 18:29

I just noticed upon flushing the REDIS cache i get the following apache errors:

Code: Select all

Redis::flushDB() expects exactly 0 parameters, 1 given in /var/www/bloc/kb/common/admin/option_acache.php on line 142
Changing that line to:

Code: Select all

                $redis->flushDb();
Seems to work,
might be version specific though

redis 3.0.7
php5-redis 2.2.4

User avatar
Salvoxia
Developer
Posts: 1515
Joined: Wed Feb 22, 2012 12:11

Re: Redis flush DB not working

Post by Salvoxia » Mon Mar 14, 2016 20:29

Hi,

thanks for reporting that problem. It is due to be fixed with the next release.
See this patch: https://github.com/evekb/evedev-kb/comm ... a56d9b87ca

Best Regards,
Salvoxia

Post Reply

Return to “Bug Reporting”

Who is online

Users browsing this forum: No registered users and 4 guests