Thanks, I’ll get on these.
The second one is … interesting since that shouldn’t happen.
// If we made varniship, let it sail
if ( isset( $varniship ) && $varniship != null ) {
$host = $varniship;
} else {
$host = $p['host'];
}
The code $host = $p['host']; is the 330th line. It shouldn’t be an undefined, since you’re literally defining it there. I wonder if fixing the first will resolve the second.
The first is called because there’s no rest API URL for whatever it is you just edited. Do you happen to know what you were doing?
I wasn’t doing anything, the only thing happening on the site on that day were automatic updates of plugins (slimstat, mailpoet newsletters). There were some downtimes on the hoster a few days ago as well (not sure what day), maybe that did something? I can’t think of anything else.
Thanks for looking into this!
Oh, and on the second one it’s complaining about the index (not the variable), so $p['host'] isn’t defined…
[29-Jul-2017 18:39:47 UTC] PHP Notice: Undefined index: host in /srv/data/web/vhosts/mysite.de/htdocs/wp-content/plugins/varnish-http-purge/varnish-http-purge.php on line 330
…just saw this again, with Version 4.1.1