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.
- The topic ‘[Plugin: Varnish HTTP Purge] Comment approval error (varnish response)’ is closed to new replies.