Referers.getWebsites returning a empty array occasionally

Hello this is my first post on here. I am having issues with Referers.getWebsites returning a empty array occasionally. I at first thought it was timing out but I have max execution time set to 90 and the call does not take that long to return either the data or an empty array and I have never gotten a error back. Has anyone else experienced this and if so is there a fix?

have you setup: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo ?

Thank you Matt, setting up cron to Auto-Archiving seem to work great.

Matt one more thing would have setting up the Auto-Archiving altered the data in any way. When I logged in to one of the sites and viewed the reports it looks like yesterdays data are all 0?

Probably your cron is not setup properly if you are seeing zeros (sound like it is not executed?)