KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Error Using Stastics Class #954

Open Michael Menefee opened this topic on on Jun 30, 2019 - 1 comments

Michael Menefee commented on Jun 30, 2019

Hi,

We're seeing a compile error when trying to use the Statistics class -

Cannot make static method koolreport\core\Process::process() non static in class koolreport\statistics\Statistics

It appears that the base Process::process() method is static, whereas the Statistics method is protected: Statistics: protected function process() { }

Process: static function process($params) { }

Looks like there's a mismatch here. How do we fix this easily?

Thanks!

KoolReport commented on Jul 1, 2019

I see, please change the Statistics method from "process()" to "doProcess()", please change in the line 172 as well.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None