We are working with a client to upgrade their PHPPOS application from version 14.17 to 19.0. The earlier version was written in CodeIgniter2, while the newer version uses CodeIgniter3.
A number of custom pages and reports were written using KoolReport, and we are having an issue with two in particular. In the code snippet below, it appears that well over 200 elements are being passed in the $allocations variable:
$report = new $reportClass( [ "datasource" => $allocations ] );
$report->run()->exportToExcel('../../views/business_intelligence/export_templates/' . $template)->toBrowser("$template.xlsx");
The KoolReport custom code is identical between the old and new versions of the code - that is, the code was copied from the earlier version to the newer version,
Any suggestions that can be provided as to where to look or what might be missing would be greatly appreciated.
Thanks!