• 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 Contributor 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)

The topic ‘Undefined variable: sesrver in Varnish_Flush.php’ is closed to new replies.