Title: Counter restarts
Last modified: July 7, 2018

---

# Counter restarts

 *  [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/)
 * Counter restarts when it reaches between 50 and 100 views.
    It’s been a couple
   of months since this has happened, I’ve tried everything. I hope you can help.
   I leave the links with the screenshots of the settings:
 * [http://prntscr.com/k3rmyx](http://prntscr.com/k3rmyx)
    [http://prntscr.com/k3rncw](http://prntscr.com/k3rncw)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcounter-restarts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10472806)
 * Can you please explain by what you mean by restarts? Is it the Total Count?
 * Can you check if the PRIMARY KEY exists in the wp_top_ten table?
 *  Thread Starter [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10472866)
 * It resets the count.
    How and where can I see this primary key?
 *  Thread Starter [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10472867)
 * This is an image with counts of post views now.
 * [http://prntscr.com/k3spes](http://prntscr.com/k3spes)
 * I’ll send you another one when you start counting again.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10473166)
 * Can you go to Top 10 > Tools > Merge Duplicates across blog IDs
 * You can also recreate the Primary Key there
 * [https://ps.w.org/top-10/assets/screenshot-9.png?rev=1820156](https://ps.w.org/top-10/assets/screenshot-9.png?rev=1820156)
 *  Thread Starter [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10474375)
 * Still giving an error. The counts always restart.
    Top 10 plugin: [http://prntscr.com/k40qg9](http://prntscr.com/k40qg9)
   Jetpack: [http://prntscr.com/k40r35](http://prntscr.com/k40r35) How to identify
   primary key in phpmyadmin?
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10475040)
 * In phpMyAdmin, you should be able to see the primary key at the bottom when browsing
   the structure of wp_top_ten
 * Also, can you check if the table has duplicate entries for the wp_top_ten table
   for a post type?
 *  Thread Starter [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10477695)
 * I did not find the primary key. And I do not know if it’s duplicating because
   it’s not recording the views.
 * End of table wp_top_ten
    [http://prntscr.com/k4fmz0](http://prntscr.com/k4fmz0)
 * There are two tables of the plugin: wp_top_ten and wp_top_ten_daily. That’s right?
   
   [http://prntscr.com/k4f7u2](http://prntscr.com/k4f7u2)
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10496472)
 * Yes that is correct – there are two tables – one for all-time and one for the
   day.
 * Can you check in “Estructura” and at the bottom you should see a section (sometimes
   hidden) where you have the primary keys.
 * One extreme option to do is to export the contents of both these tables via mySQL
   and then uninstall and reinstall Top 10. Make sure when you uninstall it, both
   tables are deleted from the database.
 *  Thread Starter [jackcrysis](https://wordpress.org/support/users/jackcrysis/)
 * (@jackcrysis)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10905282)
 * Hi, sorry for the delay. But that last solution did not work, can you tell me
   what else I can do?
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10908517)
 * Did you try a complete delete and reinstall after exporting your data?
 * If you have the latest version of the plugin, you should be able to see the code
   to run in phpMyAdmin in your Top 10 > Tools page. Can you run these and try again.
 * Another option to debug is to export the contents of the wp_top_ten and the wp_top_ten_daily
   tables in mySQL. Then delete both the tables. The plugin should try to recreate
   the tables post which you can reinstall the data by importing the contents (not
   structure) in phpMyAdmin.
 * Also can you try using the other tracker within the Settings?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Counter restarts’ is closed to new replies.

 * ![](https://ps.w.org/top-10/assets/icon-256x256.png?rev=2986432)
 * [WebberZone Top 10 — Popular Posts](https://wordpress.org/plugins/top-10/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/top-10/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/top-10/)
 * [Active Topics](https://wordpress.org/support/plugin/top-10/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/top-10/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/top-10/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/counter-restarts/#post-10908517)
 * Status: not resolved