KoolReport's Forum

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

Fatal error: Access level to SalesByCustomer: #533

Open Leonardo E Ruiz B opened this topic on on Nov 24, 2018 - 2 comments

Leonardo E Ruiz B commented on Nov 24, 2018

Hi I am trying to test and learn about KoolReport. I install xampp and KoolReport and test using this tutorial: http://localhost/testing/examples/ and the two first basic examples worked well

But when I tryied the example: http://localhost/sale_report/ I get this error:

Fatal error: Access level to SalesByCustomer::settings() must be public (as in class koolreport\KoolReport) in C:\xampp\htdocs\sale_report\SalesByCustomer.php on line 12

Can you help me how to fix it?

thanks bye Leo

KoolReport commented on Nov 25, 2018

Remove the "protected" keyword in function settings(). It seems that you are using old version of KoolReport, please download the new one.

Leonardo E Ruiz B commented on Nov 25, 2018

Hi Thanks, I just update the version and everything work well thanks bye Leo

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