Title: Like &amp; Dislike Button counting problem
Last modified: July 18, 2021

---

# Like & Dislike Button counting problem

 *  Resolved [ubavic](https://wordpress.org/support/users/ubavic/)
 * (@ubavic)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/)
 * Hi I have a problem with an add-on that counts likes and dislikes. When turned
   on lscache after page refresh counters return to 0.
 * Plugins is
    [https://wordpress.org/plugins/wpac-like-system/](https://wordpress.org/plugins/wpac-like-system/)
 * Has anyone had a similar problem.
    thanks

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14673945)
 * Hi,
 * please provide the report number , you can get it in toolbox -> report -> click“
   send to LiteSpeed”
 * and then , go to Cache -> ESI , enable ESI
 * change your shortcode from `[WPAC_LIKE_SYSTEM]` to `[esi WPAC_LIKE_SYSTEM ttl
   ="0"]`
 * save and purge all , see how it goes
 * Best regards,
 *  Thread Starter [ubavic](https://wordpress.org/support/users/ubavic/)
 * (@ubavic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14674726)
 * qtwrk thanks for response.
    Report number is: ZFQEXVTC
 * I did that and the same thing is still happening. Returns to the number before
   turning on cache.
 * What happens when I turn on ESI is that the complete sidebar moves to the bottom
   of the page .
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14678127)
 * please try enable the dev tool , then click like or dislike , it should send 
   out 2 ajax call on `admin-ajax.php` , see what are their response header and 
   response content
 *  Thread Starter [ubavic](https://wordpress.org/support/users/ubavic/)
 * (@ubavic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14680907)
 * Response header:
 *     ```
       HTTP/3 200 OK
       x-powered-by: PHP/7.4.21
       access-control-allow-origin: https://toplickevesti.com
       access-control-allow-credentials: true
       content-type: text/html; charset=UTF-8
       x-robots-tag: noindex
       x-content-type-options: nosniff
       x-frame-options: SAMEORIGIN
       referrer-policy: strict-origin-when-cross-origin
       expires: Wed, 11 Jan 1984 05:00:00 GMT
       cache-control: no-cache, must-revalidate, max-age=0
       x-litespeed-cache-control: no-cache
       content-length: 5
       content-encoding: br
       vary: Accept-Encoding,User-Agent
       date: Tue, 20 Jul 2021 15:09:18 GMT
       server: LiteSpeed
       ```
   
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14682391)
 * please create a ticket by mail to `support at litespeedtech.com` with reference
   to this topic , we will investigate it further

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

 The topic ‘Like & Dislike Button counting problem’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/like-dislike-button-counting-problem/#post-14682391)
 * Status: resolved