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
384 stars 82 forks source link

Redis Cache Issue #159

Closed Shofiul-Alam closed 4 months ago

Shofiul-Alam commented 4 months 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 4 months ago

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

Shofiul-Alam commented 4 months ago

Thanks.