Support » Plugin: Proxy Cache Purge » Plugin includes debug.php which can trigger custom debug code

  • Line 1006 of varnish-http-purge.php has;
    require_once 'debug.php';

    If a site has an existent debug.php in the webroot, that gets included by the plugin, and it initializes the plugin without all the pluggable functions being available. It broke a prod site when we installed this plugin! The devs were using it to isolate a problem in the site at the time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ipstenu (Mika Epstein)


    🏳️‍🌈 Plugin Review Team Rep

    That shouldn’t happen. By default, paths are relative to the file that the request originated from. What version of PHP are you running? It’s possibly mis-configured.

    7.3, running almost-default config from Ondřej Surý’s repo (increased upload, post body and memory limits)

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