• In firefox when trying to rate a post I get the Failed to Verify Referrer message.

    However I’m not using any caching plugins. I tried deactivating and then reactivating and that worked for a little while then went back to the error.

    It also never happens in Chrome, in Chrome it is fine.

    What can I do?

    https://wordpress.org/plugins/wp-postratings/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Does it work on th default twenty sixteen theme with no other plugins activated in the first place?

    Hi Lester,
    why not just use check_ajax_referer() only for logged in users?

    lachland, I use if(is_user_logged_in()) {…} before check_ajax_referer() in process_ratings function in wp-postratings.php and it’s solve problems with “Failed to Verify Referrer”.

    Plugin Author Lester Chan

    (@gamerz)

    Hmm I doubt it will solve the problem because most of the sites doesn’t require user login for ratings.

    This solve problem with cached pages which shows only for unknown users and they got verify referrer error.
    And logged in users see not cached page and they nonce is checked normally.
    Or this solution is insecure?

    Plugin Author Lester Chan

    (@gamerz)

    Correct it only solves the logged in user part which doesn’t seem to make much of a diff.

    Hi, I have the same issue in Chrome when I’m logged in. Tried the plugin in Mozilla without being logged and worked well. What causes this problem?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failed to Verify Referrer (No cache plugin)’ is closed to new replies.