Error Date format occurs every day after midnight

Hi !
I have a problem that occurs every day after midnight.
I get an email with the following error:

ERROR [2022-12-06 00:00:10] 1171501 Scheduler: Error Date format must be: YYYY-MM-DD, or ‘today’ or ‘yesterday’ or any keyword supported by the strtotime function (see http:// php.net/strtotime for more information): for task ‘Piwik\Plugins\CoreAdminHome\Tasks.purgeOutdatedArchives’

In Matomo everything seems to work fine and in the “System Check” page there are no warnings (green light).

I have configured the following cron command:
/public_html/matomo/console core:archive --url=https://mydomain.com/matomo/ > /dev/null

From what I read from the email it should be something related to the deletion of old archives, could it be due to the fact that the Matomo installation is recent and there is no archive to delete?

Any help will be appreciated

Thanks

Pasquale

Hi @paskm92
Can you confirm the Matomo version you currently use?

Hi @heurteph-ei
I am using the last stable version (4.12.3)

Hi @paskm92
I did not find this error in the GitHub repo.
Then you should create a new issue at:

Don’t forget to provide:

  • Matomo version
  • Installed plugins
  • The error log you provided in your first message.