the error does not come from the injected code, try to delete it, I think it will always be there.I do not have an error too, with or without injection, it is linked to the cache, if I disable all the cache, it disappears.Is it the same with you?
As I see whatever code I put there same error is happening.Without code in the box with the emty box it works as expected.