WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Varnish HTTP Purge] Comment approval error (varnish response)

[Resolved] [Plugin: Varnish HTTP Purge] Comment approval error (varnish response)

  • Nathan Bird
    Member

    @unwashedmeme

    Got a report that after this plugin was installed approving comments from moderation was working spottily and that when leaving a comment it would output an “error message”.

    The error message turned out to be the varnish response of “Error 200 purged… guru meditation …”

    I added, on line 54, curl_setopt($c, CURLOPT_RETURNTRANSFER, true); to try and get curl to throwaway the response instead of piping it to output; this appears to have worked for me.

    http://wordpress.org/extend/plugins/varnish-http-purge/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Varnish HTTP Purge] Comment approval error (varnish response)’ is closed to new replies.