• Resolved meike297

    (@meike297)


    Hello! Since a few days a get a message in your plugin: There seems to be a problem with your website’s WP-Cron configuration that keeps Koko Analytics from automatically processing your statistics.

    I have already contacted my hosters and they have installed a cron job for me and said everything is working. The message in the plugin still appears and yesterday no bar with analytical data can be seen, it also shows numbers that cannot be correct. Ask for help.

    Kind regards, Meike

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hello Meike,

    Since your host set up a proper server cronjob, this likely indicates that another scheduled event (from another plugin) is blocking the queue. You can check this by installing a plugin like Advanced Cron Manager or WP Crontrol and checking the event (or action) that shows up at the top of the list.

    Deactivating this other plugin or fixing its issue will then ensure that our plugin gets a chance to run its scheduled event.

    Hope this helps. Let us know if you’d like us to elaborate or need anything else.

    Best, Danny

    Daniel Roth

    (@danielrunvegan)

    @dvankooten just chiming in here, as I am experiencing the same thing at the moment. On january 19 the stats were not aggregated/counted in the chart. I installed the Cron manager plugin that you mentioned in another thread, and it didn’t show the “koko_analytics_aggregate_stats” event at all. I got it running again by deactivating and activating the plugin, and the “missing” stats were added to the following day’s stats (on which I did the fix). The koko_analytics_aggregate_stats job is showing up again and so far it seems to be working.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi @danielrunvegan,

    Thank you for chiming in! I did indeed experience the issue locally just now as well. I am not sure why the event suddenly disappeared for so many installations, but since it is scheduled on plugin activation re-activating the plugin should indeed fix it.

    Will do some more digging and push out a fix later today!

    Thread Starter meike297

    (@meike297)

    Hello. I have installed the Cron Manager plugin and see no errors. Once a day koko_analytics_prune_data is scheduled and once every hour koko_analytics_test_custom_endpoint. Is that correct? As Daniel said, on the 19th. January the data is completely missing and on 20. January does it really look like 2 days have been added up? I’m waiting for your message

    • This reply was modified 1 month, 1 week ago by meike297.
    Thread Starter meike297

    (@meike297)

    and: this koko_analytics_aggregate_stats is Not showing up Like Daniel mentioned

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hello Meike,

    Please deactivate and then reactivate the plugin once to get the event correctly scheduled. Or go into your Koko Analytics settings and click the “Save Changes” button. That will ensure your stats will be added up to the correct day going forward.

    We are working on a fix for the long-term so that this can not occur again. Sorry for the hiccup.

    Best, Danny

    Thread Starter meike297

    (@meike297)

    Alright. But my data will Not get lost when I deactivate the plugin Right?

    Plugin Author Danny van Kooten

    (@dvankooten)

    @meike297 Definitely not!

    Just make sure to only deactivate the plugin and not click the delete option (that shows for inactivate plugins). The plugin retains all its data if you deactivate it, but it will delete it when you run the uninstall process for a plugin (by clicking on “Delete” from your WP Admin > Plugins page).

    To summarise: clicking Deactivate is safe and your data will stay intact. Clicking Delete is not safe and will remove all data.

    Hope that explains. Good luck!

    Thread Starter meike297

    (@meike297)

    Hello. I updated the plugin earlier in the updates. Now everything works again. In the Cron Manager, koko_analytics_aggregate_stats is now also showing up again and is scheduled every minute (which was not there before). Also the message in the dashboard that there is a Problem with WP-Cron is gone. Thank you very much. I can now assume that from the 19th. January the missing data were added to the 20th. January stats?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Yes, I’m afraid so, @meike297.

    Today’s update includes a protection mechanism against the missing scheduled event or in case it stalls because of other reasons though, so we can be sure it does not happen again. Even if the scheduled event does not occur in an entire 24 hours, going forward stats will always be counted towards the correct date (that they occurred on).

    Best,
    Danny

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.