Title: DATATABE QUESTION
Last modified: November 6, 2016

---

# DATATABE QUESTION

 *  [freedumbo](https://wordpress.org/support/users/freedumbo/)
 * (@freedumbo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/)
 * in your new plugin version..
    **where is the data is stored??** what i have used
   version is save data in wp_yasr_votes.. but where is the data?? I can’t see.
 * and when i delete you plugin and table and reinstall your plugin..
    **i can see
   yasr’s old data is displayed..why?** but if i rewrite votes,new data is saved
   and last data is erased..

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

 *  Thread Starter [freedumbo](https://wordpress.org/support/users/freedumbo/)
 * (@freedumbo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/#post-8402015)
 * i understand first question…wp_log_votes..
    why you combine it?? I want to know..
   and i’ll update it..
 * second question…
    I can’t solve it..
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/#post-8402539)
 * Hello freedumbo!
 * Like you guessed, wp_yasr_votes [doesn’t exists anymore](https://yetanotherstarsrating.com/yasr-1-3-6-bye-bye-yasr_votes-table/)(
   from version 1.3.6). If you’re using a version > 1.3.6 that data are just ignored
   and you can delete it.
 * Visitor data are stored on wp_log_votes.
    So…why, even if you deleted the data,
   you still see the old votes? Because Yasr use a built-in cache system! ([based on the transient api](https://codex.wordpress.org/Transients_API))
   That’s why, if you vote on a set, first you see the old data, then, you see the
   new data and the old is eresed! Because evrytime a vote is added, the cache get
   updated!
 * If you want to delete your cache, open table wp_options and search for a string
   like “_transient_yasr_visitor_votes” in the option name field.
    Once you delete
   it (along with the table _wp_log_votes) everything will be erased 😉
 *  Thread Starter [freedumbo](https://wordpress.org/support/users/freedumbo/)
 * (@freedumbo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/#post-8403761)
 * oh..you’re right.
    i delete cacahe.. haha thank you.. for ($x = 0; $x <= 100000;
   $x++) { $wpdb->delete( ‘wp_options’, array( ‘option_name’ => ‘_transient_yasr_visitor_votes_
   $x’ ) ); }
 * **sometimes..i find screen display “security check” in my web..and find this 
   source in your file.**
    if ( ! wp_verify_nonce( $nonce_visitor, ‘yasr_nonce_insert_visitor_rating’)){
   die( ‘Security check’ ); }
 * **what does this work?? may i delete this?? **
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/#post-8404426)
 * No…that is to check if [nonce](https://codex.wordpress.org/WordPress_Nonces) 
   is correct and unexpired .
 * Unfortunatelly, some caching plugin, use to cache nonce too ans sometimes you
   get the “security check” .
    I suggest to disable caching plugin if you’re using
   one.

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

The topic ‘DATATABE QUESTION’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/datatabe-question/#post-8404426)
 * Status: not resolved