供参考:Each time that you've eaten wrong foods by accident.
在语法上没有错误,但是在意思上不是很准确,that shouldn't be eaten,是不应当吃的东西,含有主观被动的意义.