core:invalidate-report-data


(KenYanYTS) #1

Hi
My Piwik data report show zero from 2018-07-07 to 2018-07-08 , I refer How to - Analytics Platform - Matomo , I have tried to invalidate data with console commands like ./console core:invalidate-report-data --dates=2018-07-08,2018-07-09 --sites=1,3,5 , but I got warning as below :

Invalidating day periods in 2018-07-08,2018-07-09 [segment = ]…
WARNING [2018-07-11 09:15:30] /var/www/piwik/core/Archive/ArchiveInvalidator.php(222): Warning - trim() expects parameter 1 to be string, array given - Piwik 2.13.1 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

[Exception]
Check the ‘dates’ parameter is a valid date.

How do I solve this problem ?
Thanks in advance.
Ken.