KoolReport's Forum

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

Koolreport Dashboard -- PdoDataSource #2959

Closed dhiya82 opened this topic on on Jan 25, 2023 - 6 comments

dhiya82 commented on Jan 25, 2023

Hi Koolreport support.

I have install koolreport dashboard as per in the guideline. But there's error on PdoDataSource if you can please advice. Thanks.

Message: Creation of dynamic property koolreport\datasources\PdoDataSource::$originalQuery is deprecated

Sebastian Morales commented on Jan 27, 2023

We will fix this warning in the next version of KoolReport. For now you can add the following command to your report file to remove it:

//index.php, App.php, report.php
error_reporting(E_ERROR | E_PARSE);
dhiya82 commented on Jan 27, 2023

Thanks for the reply.

I have included the line in index.php, app.php & all report.php. But i still got the same error.

I may did it wrong. Can you provide steps to that please? Thank you.

dhiya82 commented on Jan 29, 2023

Hi Sebastian.

Fyi i can run the koolreport examples demo.

But have problem running dashboard (error: Creation of dynamic property koolreport\datasources\PdoDataSource::$originalQuery is deprecated)

Why is that?

dhiya82 commented on Jan 30, 2023

Hi Sebastian any luck on this?

Sebastian Morales commented on Jan 30, 2023

For KoolReport example, pls put this line at the beginning of index.php or example.php in each example:

error_reporting(E_ERROR | E_PARSE);
...
dhiya82 commented on Jan 30, 2023

Thanks Sebastian.

It's resolved after downgraded to php7.4

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
help needed
solved

Dashboard