Disable recipe (and item suggestion on knowledge book as well)

So what I want is to disable the ender eye recipe. What I did was leaving empty the ender_eye.json file (minecraft/recipes/ender_eye.json). it works but now I'm getting this error on console every time I start the server:
Continue to help post