Invalidate report - Error message

Hi all,
I tried to run the invalidate report using a command line and I got this message:

INFO [2022-08-16 13:23:08] 5512 Invalidating year periods in 2021-05-01,2021-05-31 [segment = ]…
WARNING [2022-08-16 13:23:08] 5512 C:\Websites\matomo\vendor\monolog\monolog\src\Monolog\Logger.php(329): Warning - Array to string conversion - Matomo 4.10.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Does any one know how to fix it?

Thank you
Oswaldo

It seems like a bug…
Which version of PHP do you use? 8.x?

Hi Phlippe,
I’m using PHP 8.0.16

I created an issue in the Matomo GitHub repo:

@ograssini Question from Stefan Giehl (Matomo team):

Do you know the exact command that was executed? Otherwise it might be hard to reproduce.

→ The best would be to reply in the GitHub issue

Here is the command I have used:

> php /console -vvv core:invalidate-report-data --dates=2021-05-01,2021-05-31 --sites=4

The issue seems to be taken into account and a fix is in route to be found…

The issue has been fixed, and will be delivered in the 4.12 version of Matomo.
If you wan, you can apply now (in the code of your own installation) the fix available at:

Hi Philippe,

I appreciate your help and the quick fix for this issue. I’ll wait for 4.12 version.

Thank you
Oswaldo

1 Like