KoolReport's Forum

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

Error message, too few arguments believe it is something with either my PHP version or how i call Koolreport. #3122

Closed Jordan Taylor opened this topic on on Aug 17, 2023 - 2 comments

Jordan Taylor commented on Aug 17, 2023

Fatal error: Uncaught ArgumentCountError: Too few arguments to function koolreport\KoolReport::construct(), 0 passed in C:\inetpub\wwwroot\Hillhouse\koolreport\core\src\core\Widget.php on line 143 and exactly 3 expected in C:\inetpub\wwwroot\Hillhouse\koolreport\core\src\KoolReport.php:86 Stack trace: #0 C:\inetpub\wwwroot\Hillhouse\koolreport\core\src\core\Widget.php(143): koolreport\KoolReport->construct() #1 C:\inetpub\wwwroot\Hillhouse\koolreport\core\src\core\Widget.php(758): koolreport\core\Widget->__construct() #2 C:\inetpub\wwwroot\Hillhouse\report2.php(90): koolreport\core\Widget::create() #3 {main} thrown in C:\inetpub\wwwroot\Hillhouse\koolreport\core\src\KoolReport.php on line 86

This is the error message i am receiving can someone shed some light on what I can look into.

Thanks in advance.

Sebastian Morales commented on Aug 18, 2023

Would you mind sharing with us your report php code and your KoolReport version?

Jordan Taylor commented on Aug 18, 2023

I managed to get around this issue thank you for the response :) !

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