Dashboard widget realtime stats not updated automatically
-
Hi,
There seems to be an issue with the realtime stats in the Dashboard widget not automatically updating.
This occurs on all our sites (single sites, multisites). One of them is still running v1.6.5 so it doesn’t seem to be related to the v1.7.x update.
In the widget it says there have been 0 views (with 0 in the last hour).
Once you go to the statistics page (/wp-admin/index.php?page=koko-analytics) and then go back to the Dashboard, the stats in the widget will be updated to the correct amount of views.
But the issue persists because during the day as the stats won’t update automatically. They will only update after visiting the statistics page (/wp-admin/index.php?page=koko-analytics).
So every new day it starts with 0 views (with 0 in the last hour).In one of the sites, we’re also using the get_most_viewed_posts function for a custom ‘most read’ articles widget. That used to work fine. Not sure if it’s related, but the client is now reporting that the articles in that widget won’t update as well.
The client also sends out a newsletter with these ‘most read’ articles, so it’s important that this data is regularly updated.Is this a bug in the plugin or possibly something else? What can we check? Is there a specific cronjob that should be running?
- You must be logged in to reply to this topic.