[OJS 3.1.2.4] Blank statistics after upgrade

[root@srva public_html]# php tools/runScheduledTasks.php plugins/generic/usageStats/scheduledTasks.xml
PHP Fatal error:  Uncaught Error: Call to a member function getCategory() on null in /home/ojs/web/ojs.webojs.com/public_html/plugins/generic/usageStats/UsageStatsLoader.inc.php:479
Stack trace:
#0 /home/ojs/web/ojs.webojs.com/public_html/plugins/generic/usageStats/UsageStatsLoader.inc.php(438): UsageStatsLoader->getOJSAssoc(515, Array, 'article', 'download', Array)
#1 /home/ojs/web/ojs.webojs.com/public_html/plugins/generic/usageStats/UsageStatsLoader.inc.php(174): UsageStatsLoader->getAssoc(515, Array, 'article', 'download', Array)
#2 /home/ojs/web/ojs.webojs.com/public_html/lib/pkp/classes/task/FileLoader.inc.php(167): UsageStatsLoader->processFile('/home/ojs...')
#3 /home/ojs/web/ojs.webojs.com/public_html/plugins/generic/usageStats/UsageStatsLoader.inc.php(127): FileLoader->executeActions()
#4 /home/ojs/web/ojs.webojs.com/public_html/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(148): UsageStatsLoader->executeActions()
#5 /home/ojs/web/ojs in /home/ojs/web/ojs.webojs.com/public_html/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 479

can u help me?