• Resolved Furkan A?lar

    (@frkn64)


    Hello,
    Since the last 2 or 3 updates, I have been having problems with Anycomment. The comments form doesn’t load sometimes. I use Litespeed Cache on my site.

    I clean the cache, then the comment section loads without problems for few days.
    After a few days, the comment section starts not loading again and I have to clean the cache.

    Is there a permanent solution for this? I turned off all JS optimizations from Litespeed settings, but the problem still persists. What settings should I make?

    These are the errors that appear in the browser when the comment form is not loaded:

    /wp-json/anycomment/v1/comments?post=3811&parent=0&per_page=6&order=desc&offset=0&rnd=1587581528112:1 Failed to load resource: the server responded with a status of 403 ()
    main.min.js?ver=84c6a95973568333c0c1562806930e63:209 TypeError: Cannot read property 'total_count' of undefined
        at fetched (main.min.js?ver=84c6a95973568333c0c1562806930e63:1341)
        at l (main.min.js?ver=84c6a95973568333c0c1562806930e63:1339)
        at ua (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Xa (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Ro (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Lu (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Ru (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Cu (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at main.min.js?ver=84c6a95973568333c0c1562806930e63:209
        at exports.unstable_runWithPriority (main.min.js?ver=84c6a95973568333c0c1562806930e63:205)
    go @ main.min.js?ver=84c6a95973568333c0c1562806930e63:209
    main.min.js?ver=84c6a95973568333c0c1562806930e63:1341 Uncaught (in promise) TypeError: Cannot read property 'total_count' of undefined
        at fetched (main.min.js?ver=84c6a95973568333c0c1562806930e63:1341)
        at l (main.min.js?ver=84c6a95973568333c0c1562806930e63:1339)
        at ua (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Xa (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Ro (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Lu (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Ru (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at Cu (main.min.js?ver=84c6a95973568333c0c1562806930e63:209)
        at main.min.js?ver=84c6a95973568333c0c1562806930e63:209
        at exports.unstable_runWithPriority (main.min.js?ver=84c6a95973568333c0c1562806930e63:205)

    The page I need help with: [log in to see the link]

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

    (@ateshabaev)

    Hello,

    We are using WordPress Nonce which is stored on the page where comments loaded. Nonce lifetime is 1 day, sometimes a bit longer. When website is using caching plugin, they normally cache pages for longer than nonce lifetime.

    The solution is to make caching shorter than 1 day, enable cronjob to flush cache after nonce is refreshed.

    Plugin Author Alexander

    (@ateshabaev)

    Hello,

    I am closing this because of inactivity.

    Please create new topic if you are still having some problem.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment section doesn’t load’ is closed to new replies.