koolphp / koolreport

This is an Open Source PHP Reporting Framework which you can use to write perfect data reports or to construct awesome dashboards using PHP
https://www.koolreport.com/
MIT License
228 stars 65 forks source link

Server Exception in MemCache construct package #35

Open dmoraisn opened 4 years ago

dmoraisn commented 4 years ago

In Package v.4.3.2, the MemCache construct has an error:

Uncaught Exception: Please added servers in ./vendor/koolreport/cache/MemCache.php:29

$ttl = Utility::get($settings,"ttl",5*60);
       $servers = Utility::get($servers,"servers"); // <---- calls $server instead $settings
        if($servers==null)
        {
            throw new \Exception("Please added servers");
        }
koolreport commented 4 years ago

Yes, thank you for letting us know. We have applied the fixes to the MemCache in koolreport/cache package. It will be releases in next version together with koolreport/core.