Regarding the OP's [an error occurred while processing the directive]
I've just had the same issue, running on a local Valet setup.
The issue was that SSI (server side includes) was enabled by default in nginx.conf. The comments in the plugins starting with <!-# are treated as SSI directives, hence the error.
If you disable SSI on your server (provided you're not using SSI), and restart, then the errors should disappear.
If you're using Valet, instructions here on how to toggle SSI on/off.