Having trouble using export to pdf php

Getting this error message:
/var/www/html/codebase/php/gridPdfGenerator.php at 430 : count(): Parameter must be an array or an object that implements Countable

Using Apache2 and PHP7.2. Any thoughts?


Pleas,e try to use the online version of the export functionality:

That works perfectly, however, I’m dealing with sensitive information and would prefer to export to pdf internally. Is there no solution?

the content of the local export service is open-sourced. you may customize it for your needs.