Page reload
-
The likes/dislikes will not be visible after a page reload (f5).
Whatever I do I just can’t get them to appear.
I use WP-Super cache on production (not local when building the theme) and that might be the issue now. However, when I disable the cache and empty it the likes/dislikes will still not show up.
Sometimes after some time it seems that some likes come through though.Also I seem to get this error all the time:
VM2259:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at Function.n.parseJSON (jquery.js?ver=1.12.4:4)
at Function.a.parseJSON (jquery-migrate.min.js?ver=1.4.1:2)
at Object.success (cld-frontend.js?ver=1.0.4:63)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)Firefox and chrome point to this “res = $.parseJSON(res);” line in: cld-frontend.js?ver=1.0.4:63
Putting dataType: ‘json’, did not help to solve that.
Any ideas?
- The topic ‘Page reload’ is closed to new replies.