Support » Plugin: WP Statistics » Visit count is only stat that is working

  • I haven’t been able to get most of my website stats for several months. I noticed that my php was out of date a few weeks ago, so I thought that would fix the stats. I updated it and the wp-statistics interface reappeared in WordPress, but the stats aren’t updating properly. The ONLY thing that shows is the Visit count. Not Visitors, Search Engine Referrals, etc.
    php 5.4.19
    11.0.3

    I’ve tried disabling all my other plugins. Is there an easy fix, or should uninstall and reinstall the plugin. Will I lose my stats if I do that?

    Thanks,
    J. J.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Ross

    (@gregross)

    Have you checked your settings to make sure the other stats collections are enabled?

    Under Statistics > Settings > General? Yes, they’re all Active.

    Plugin Author Greg Ross

    (@gregross)

    The next thing to check is your PHP logs and see if there are any related error messages.

    Looks like these are the 3 main errors I’m getting:
    [16-Feb-2017 20:52:08 UTC] WordPress database error Table './caowplive/wp_statistics_visitor' is marked as crashed and last (automatic?) repair failed for query SELECT * FROM wp_statistics_visitor WHERElast_counter` = ‘2017-02-16’ made by do_action(‘wp_ajax_wp_statistics_get_widget_contents’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_statistics_get_widget_contents_callback, wp_statistics_generate_quickstats_postbox_content, wp_statistics_generate_hits_postbox_content, wp_statistics_visitor

    [16-Feb-2017 20:52:08 UTC] WordPress database error Table ‘./caowplive/wp_statistics_visitor’ is marked as crashed and last (automatic?) repair failed for query SELECT count(last_counter) FROM wp_statistics_visitor WHERE last_counter = ‘2017-02-16’ made by do_action(‘wp_ajax_wp_statistics_get_widget_contents’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_statistics_get_widget_contents_callback, wp_statistics_generate_quickstats_postbox_content, wp_statistics_visitor

    [16-Feb-2017 20:52:34 UTC] WordPress database error Table ‘./caowplive/wp_statistics_visitor’ is marked as crashed and last (automatic?) repair failed for query SELECT count(last_counter) FROM wp_statistics_visitor made by do_action(‘wp_ajax_wp_statistics_get_widget_contents’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_statistics_get_widget_contents_callback, wp_statistics_generate_quickstats_postbox_content, wp_statistics_visitor`

    Plugin Author Greg Ross

    (@gregross)

    That would be a problem, do you have access to phpMyAdmin to see if you can repair the table?

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