Can I recover my views? All counters were resetted to 0 views by updating database.

7.62K viewsWordPress
0

Hello,

After we discovered that all questions/answers were gone on our website, we went to the admin in WP. WP said the Anspress database was not updated, with a button to update manually. So I did and all questions/answers reappeared, but all views were resetted to 0. Is there a way to recover these stats also? Thanks in advance!

Pleas check if wp_ap_views have rows?

Not even one I’m afraid…neither from history nor after the database update.
There are apmeta_type columns with ‘post_view’ values in wp_ap_meta. Has that anything to do with it?

Yes count of views table rows are stored in post meta for performance. One last thing, can you please show me screenshot of of wp_ap_meta table?

0

Hi Rahul,

Hope this helps? Thank you!

commented on answer

Strange thing…the last view is from April 20…
But what about the views we did last days, these are visible right now on the website? But not visible in this database?

website: http://www.schoon-water.nl/forum

Since update views are not stored anymore in this table. I will provide a function so that you can re-import your views

You are viewing 1 out of 3 answers, click here to view all answers.