the statistics report generator is not working in OJS 3.1.2: there are no entries in the csv file.
The error seems to be associated with the from-to-range. If only the current month is selected, the report is generated. If I select a range starting before 2020, the error occurs.
There’s one warning:
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /data/ojs/…/lib/pkp/classes/statistics/PKPMetricsDAO.inc.php on line 149, referer: …/index.php/…/management/tools/reportGenerator