Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Hi Daniel,
It is indeed a bug of Pivot 6.2.0. Would you please open the file pivot/PivotUtil.php and replace the following lines:
$rowFields = $meta['pivotRows'];
$colFields = $meta['pivotColumns'];
with these ones:
$rowFields = Util::get($meta, 'pivotRows', ['root']);
$colFields = Util::get($meta, 'pivotColumns', ['root']);
Notice that there're 2 places that need this replacement. Let me know if it fixes the problem. Thanks!
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo