Upgrade Debian 8 to 9 Date format must be: YYYY-MM-DD error

After upgrading to Debian 8 to 9 when I try and view a websites data I get the 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):

The system also thinks it there is no data tracked although I can see data being logged.

Any help appreciated.

Thanks

Hi,

This is really odd. I can only find really old reports with this error message.

Can you maybe check the PHP error log for other errors (or the cron log).

I can’t really think of any reason for this issue (I am using Debian 9 without problems).

The admin user I was logging in with had date_registered=null. After I have set a proper date the error disappeared.

Cheers

1 Like

Hi Rene

Thanks for the response.

Could you tell me where would I set that property please. Sorry I’m not a matomo guru?

Thanks

Hi,

That’s a column in the matomo_user MySQL table.

Hi Lucas

Thanks for the pointer but in this case was not the issue. However we were using the Shibboleth Auth plugin which was the issue. Suspect it is not compatible with the latest Matomo or needed extra configuration perhap related to returning a date_registered value. Not a problem for us as I have moved over to the official LDAP plugin.

Thanks

1 Like