givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
262 stars 58 forks source link

Redis Cache Issue #159

Closed Shofiul-Alam closed 2 weeks ago

Shofiul-Alam commented 3 weeks ago

image

Need to change $this->get($this->key($namespace, $key));

To $this->get($namespace, $key);

Also I found the bug after the fix $key is sending as an array but the key() method is expecting string as the key. Need change redis.php line 82 to
$this->set($namespace, $key, $value, $expire);

image

image

givanz commented 3 weeks ago

Thanks for the bug report, it's fixed in the last commit https://github.com/givanz/Vvveb/commit/3e9572ba303eb2a964baffd3610fe591dd7e2571

Shofiul-Alam commented 2 weeks ago

Thanks.