• Resolved lestadt

    (@lestadt)


    Hello, I will try to be brief and precise. For some time the visits counter stopped working, I use LiteSpeed ??Cache to manage the cache of my site and I never had problems, everything worked normally, even without making the modification that is required for your plugin functions with this cache manager.

    Trying to solve the problem I have uninstalled the WP-PostViews and after reinstalling it I lost all the statistics, that is, the counter of all publications was set to zero. I know there is a way to manually place any numerical value to the counter (editing the custom fields) but this is a site that is 3 years old and more than 10 thousand publications, manually editing all that would take me a lot of time.

    Download a copy of my site from a week ago (when everything worked normally) from my server, with the hope of only restoring the viewer counter, but I do not know how to do that, because I have never experienced something similar. These are the two things I need to solve:

    1- Restore the visit counter to its previous state (or at least, in the worst case, fill with a random value the previous publications and that do not show with zero visitors).

    2- Once this has been solved, make WP-PostViews work with LiteSpeed ??Cache, because despite making the proper configuration so that both plugins work correctly, the counter still does not work.

    Any suggestions? Thanks in advance and disciples for my bad English.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    If you have access to the database, you can just export SElECT * FROM wp_postmeta WHERE post_meta = 'views'; and import that to your existing table.

    I am not using LiteSpeed Cache so I can’t advise of that. You might want to drop them an email to ask as the code is provided by them.

    Thread Starter lestadt

    (@lestadt)

    Hello, I have solved the problem, your suggestion did not help me, i had to update the complete database. In the process i discovered some things, the problem was not in the cache plugin, the instability and the erratic operation of the visits counter was caused by the management plugin of the AMP version of my site. Disable your visit counter in the AMP version and everything went back to normal, i put those details here in case they can serve someone. Thanks for your help and suggestions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loss of all statistics and cache problems’ is closed to new replies.