Support » Plugin: W3 Total Cache » Undefined variable: sesrver in Varnish_Flush.php

  • Resolved dsdfenestrator

    (@dsdfenestrator)


    PHP Notice: Undefined variable: server in /wp-content/plugins/w3-total-cache/Varnish_Flush.php on line 99

    There’s an error introduced by the latest version.
    Reverting to previous version made the error go away.
    It prevents varnish cache from flushing on post save.

Viewing 1 replies (of 1 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @dsdfenestrator

    I am sorry about the issue you are having and I am happy to help.
    Can you please replace the line 99 in /wp-content/plugins/w3-total-cache/Varnish_Flush.php and replace the line 99:
    Util_Content::endpoint_to_host_port( $server, 80 );
    with
    Util_Content::endpoint_to_host_port( $varnish_server, 80 );
    Or if more convenient apply this fix

    Thank you!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.